mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-27 02:43:04 +03:00
commit
14b59ef5ff
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
- Connect to a remote server with a specific identity (private key):
|
- Connect to a remote server with a specific identity (private key):
|
||||||
|
|
||||||
`ssh -i {{/path/to/key_file}} {{username}}@{{remote_host}}`
|
`ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}`
|
||||||
|
|
||||||
- Connect to a remote server using a specific port:
|
- Connect to a remote server using a specific port:
|
||||||
|
|
||||||
@ -27,6 +27,6 @@
|
|||||||
|
|
||||||
`ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}`
|
`ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}`
|
||||||
|
|
||||||
- SSH enable agent forward:
|
- Enable the option to forward the authentication information to the remote machine (see `man ssh_config` for available options):
|
||||||
|
|
||||||
`ssh -A {{username}}@{{remote_host}}`
|
`ssh -o "ForwardAgent=yes" {{username}}@{{remote_host}}`
|
||||||
|
Loading…
Reference in New Issue
Block a user