Thursday, August 15, 2013

ssh-copy-id -i on a different port

If it ever occurred to you that a changed has been done to your ssh config particularly the default port of 22 into something else.  Then you need to implement password-less ssh.  Then you got this:

ssh: connect to host port 22: Connection refused


ssh-copy-id -i  file_path "username@some_ipaddress -p port_number"


No comments:

Post a Comment