I followed instructions at http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/ in order to get ssh-copy-id to work on my mac.
Now I am getting an error when running: 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
I have tried to follow the instructions here: https://github.com/beautifulcode/ssh-copy-id-for-OSX but I every time I run ssh-copy-id
I get the same error. How do I fix my situation and get ssh-copy-id
to work properly?
IMHO, the simplest way, as you are on a mac, is to use brew.
brew install ssh-copy-id