我按照http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/上的说明操作,以便在我的mac上运行ssh-copy-id .现在我在运行时遇到错误:ssh-copy-id
/usr/bin/ssh-copy-id: line 1: ucgi:: command not found
stat: script:: stat: No such file or directory
stat: No: stat: No such file or directory
stat: such: stat: No such file or directory
stat: file: stat: No such file or directory
stat: or: stat: No such file or directory
stat: directory: stat: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我试着按照这里的说明操作:https://github.com/beautifulcode/ssh-copy-id-for-OSX但我每次运行ssh-copy-id都会得到同样的错误.我如何解决我的情况并开始ssh-copy-id正常工作?
jlf*_*aux 16
恕我直言,最简单的方法,就像你在Mac上一样,是使用brew.
brew install ssh-copy-id
Run Code Online (Sandbox Code Playgroud)
Pra*_*eep 12
使用以下命令
sudo curl https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh -o /usr/local/bin/ssh-copy-id
sudo chmod +x /usr/bin/ssh-copy-id
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7750 次 |
| 最近记录: |