ssh-copy-id not working as it should
Hi
I read the man page for ssh-copy-id and the -p port switch seems to not work. Code:
ssh-copy-id -p 22025 -i .ssh/id_rsa.pub blah@192.168.0.55 usage: ssh-copy-id [-i identity_file] [user@]hostname I tried again without the -p switch Code:
ssh-copy-id -i .ssh/id_rsa.pub blah@192.168.0.55 Quote:
Good news is I solved it by using scp to copy it over to the server and then doing a cat id.rsa.pub >> .ssh/authorized_keys Has anyone had issues using ssh-copy-id in the past? |
Specifying a port other than 22 is not a published option in earlier versions of the utility. One way to do it is:
ssh-copy-id -i "user@server -p xxxx" |
All times are GMT -5. The time now is 11:18 PM. |