1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 23:15:29 +02:00

Add ssh-copy-id page

This commit is contained in:
Jérémy DECOOL 2016-01-02 01:19:38 +01:00
parent 0173a275b7
commit dda6e37954

View file

@ -0,0 +1,11 @@
# ssh-copy-id
> Install your public key in a remote machine's authorized_keys.
- Copy the given public key to the remote
`ssh-copy-id -i {{path/to/certificate}} {{username}}@{{remote_host}}`
- Copy the given public key to the remote with specific port
`ssh-copy-id -i {{path/to/certificate}} -p {{port}} {{username}}@{{remote_host}}`