mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 16:26:04 +02:00
Instructions on how to use a specific private key
This commit is contained in:
parent
1701905cfa
commit
a76df6a009
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
||||||
|
|
||||||
`ssh {{username}}@{{remote_host}}`
|
`ssh {{username}}@{{remote_host}}`
|
||||||
|
|
||||||
|
- connecting to a remote server with a specific identity (private key)
|
||||||
|
|
||||||
|
`ssh -i {{/path/to/key_file}} {{username}}@{{remote_host}}`
|
||||||
|
|
||||||
- connecting to a remote server with specific port
|
- connecting to a remote server with specific port
|
||||||
|
|
||||||
`ssh {{username}}@{{remote_host}} -P {{2222}}`
|
`ssh {{username}}@{{remote_host}} -P {{2222}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue