Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过 ssh 使用 shell 脚本登录到远程计算机,我想从文本文件中传递用户名和密码。怎么做?
这是我尝试过的代码。
#!/bin/sh # username=user ip=192.168.2.21 ssh $username@$ip < user.txt
您不能以您所指的方法进行 SSH。您将需要使用为帮助您完成工作而创建的 SSH 密钥。
此外,请避免将密码存储在文本文件中。
我正在尝试在 ebay 中嵌入 youtube 播放列表视频.. 到目前为止没有任何效果.. 不能使用 iframe 或
<iframe width="420" height="315" src="//www.youtube.com/embed/j-IV87qQ00M" frameborder="0" allo