1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 18:15:24 +02:00

Correct english in ssh page

This commit is contained in:
Starbeamrainbowlabs 2016-01-15 14:41:03 +00:00
parent fa4b77d0de
commit 66fd296d06

View file

@ -3,15 +3,15 @@
> 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:
- Connect to a remote server:
`ssh {{username}}@{{remote_host}}`
- Connecting 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}}`
- Connecting to a remote server with specific port:
- Connect to a remote server using a specific port:
`ssh {{username}}@{{remote_host}} -p {{2222}}`
@ -19,14 +19,14 @@
`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}}`