1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/common/ssh-copy-id.md
Sebastiaan Speck 7510205497
pages/*: fix small typos (#11831)
* pages/*: fix small typos

* Update ssh-copy-id.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* ansible-inventory: fix typo

* Update pages/linux/zathura.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* gcloud: fix typo

* fdesetup: mark as placeholder

* icalbuddy: use general placeholder

* ip: make it a placeholder

* git-svn: fix typo

* pages/*: fix typos

* kubectl-get: add mnemonics and long options

* kubectl-describe: add mnemonics and long options

* pip-install: use short option

* Update icalbuddy.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-12-27 11:52:49 +05:30

16 lines
480 B
Markdown

# ssh-copy-id
> Install your public key in a remote machine's authorized_keys.
> More information: <https://manned.org/ssh-copy-id>.
- Copy your keys to the remote machine:
`ssh-copy-id {{username}}@{{remote_host}}`
- 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}}`