1 | # SSH
|
2 |
|
3 | > Secure Shell is a protocol used to securely log onto remote systems.
|
4 | > It can be used for logging or executing commands on a remote server.
|
5 |
|
6 | - connecting to a remote server
|
7 |
|
8 | `ssh {{username}}@{{remote_host}}`
|
9 |
|
10 | - connecting to a remote server with specific port
|
11 |
|
12 | `ssh {{username}}@{{remote_host}} -P {{2222}}`
|
13 |
|
14 | - ssh tunneling
|
15 |
|
16 | `ssh -D {{9999}} -C {{username}}@{{remote_host}}`
|