mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 18:59:26 +00:00
Update cheatsheets
This commit is contained in:
6
tldr/ssh
6
tldr/ssh
@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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 [p]ort:
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -p {{2222}}`
|
||||
|
||||
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -t {{command}} {{command_arguments}}`
|
||||
|
||||
- SSH tunneling: Dynamic port forwarding (SOCKS proxy on `localhost:1080`):
|
||||
- SSH tunneling: [D]ynamic port forwarding (SOCKS proxy on `localhost:1080`):
|
||||
|
||||
`ssh -D {{1080}} {{username}}@{{remote_host}}`
|
||||
|
||||
@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`ssh -L {{9999}}:{{example.org}}:{{80}} -N -T {{username}}@{{remote_host}}`
|
||||
|
||||
- SSH jumping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters):
|
||||
- SSH [J]umping: Connect through a jumphost to a remote server (Multiple jump hops may be specified separated by comma characters):
|
||||
|
||||
`ssh -J {{username}}@{{jump_host}} {{username}}@{{remote_host}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user