Last active
October 6, 2015 08:52
-
-
Save algotrader-dotcom/83e397d139c76d85910c to your computer and use it in GitHub Desktop.
Use ssh-copy-id on a different port
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh-copy-id "user@host -p 6842" | |
OR | |
$ cat /home/tim/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment