Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -3,30 +3,30 @@
> Secure Shell is a protocol used to securely log onto remote systems.
> It can be used for logging or executing commands on a remote server.
- connecting to a remote server
- Connecting to a remote server:
`ssh {{username}}@{{remote_host}}`
- connecting to a remote server with a specific identity (private key)
- 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}}`
- run a command on a remote server
- Run a command on a remote server:
`ssh {{remote_host}} {{command -with -flags}}`
- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999)
- Ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999):
`ssh -D {{9999}} -C {{username}}@{{remote_host}}`
- ssh tunneling: forward a specific port (localhost:9999 to slashdot.org:80)
- Ssh tunneling: forward a specific port (localhost:9999 to slashdot.org:80):
`ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}`
- ssh enable agent forward
- Ssh enable agent forward:
`ssh -A {{username}}@{{remote_host}}`