mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge pull request #547 from jdecool/linux-sshcopyid
Add ssh-copy-id page
This commit is contained in:
commit
88b68de3c2
1 changed files with 11 additions and 0 deletions
11
pages/linux/ssh-copy-id.md
Normal file
11
pages/linux/ssh-copy-id.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue