mirror of
https://github.com/cheat/cheat.git
synced 2024-11-14 08:01:09 +01:00
8 lines
288 B
Text
8 lines
288 B
Text
# To copy a key to a remote host:
|
|
ssh-copy-id username@host
|
|
|
|
# To copy a key to a remote host on a non-standard port:
|
|
ssh-copy-id username@host -p 2222
|
|
|
|
# To copy a key to a remote host on a non-standard port with non-standard ssh key:
|
|
ssh-copy-id ~/.ssh/otherkey "username@host -p 2222"
|