Using ssh-copy-id with a custom remote port KeysRSASecuritysshssh-copy-id Posted on July 2, 2014 | by admin ssh-copy-id -i ~/.ssh/id_rsa.pub “demo@demo.yourhost.com -p222” Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related