Instructions on how to use a specific private key
This commit is contained in:
parent
1701905cfa
commit
a76df6a009
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
`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
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -P {{2222}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue