SSH Login Without Passwords (Alternate SSH Port)

Many people don't use the default SSH port 22 for security purposes. In such case, when sharing the public key with a remote host, the following command can be used -



root@localhost:~# ssh-copy-id -i id_dsa.pub '-p 1234 root@192.168.12.253'

Should work. enjoy :)

Comments