I am having trouble trying to install ssh-copy-id on my Mac. I have tried to follow https://github.com/beautifulcode/ssh-copy-id-for-OSX but every time I run ssh-copy-id it gives me errors. Any ideas on how to get ssh-copy-id to install?
相关问题
- Xcode debugger displays incorrect values for varia
- JavaScript File Transfer SSH
- Is there a way to report errors in Apple documenta
- Advice for supporting both Mac and Windows Desktop
- Avoid cmake to add the flags -search_paths_first a
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- Check if directory exists on remote machine with s
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- ImportError: No module named twisted.persisted.sty
- How can I vertically align my status bar item text
The above methods do not work on old MACs. I have a lion OS. use this instead because the ssh-copy-id can not be insalled with brew on old pcs due to compiling dependencies errors at ssl.
cat ~/.ssh/id_rsa.pub | ssh user@123.45.56.78 "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
credit goes to this site
MacPorts version:
sudo port install openssh +ssh-copy-id
ssh-copy-id
is installed on macOS by default now.install homebrew then
$ brew install ssh-copy-id
You can install it using Homebrew:
If you don't want to use Homebrew, you can use this Mac port: