mirror of https://github.com/cheat/cheat.git
commit
c4a5ca3900
|
@ -4,6 +4,9 @@ ssh -i /path/to/file.pem user@example.com
|
||||||
# To connect on an non-standard port:
|
# To connect on an non-standard port:
|
||||||
ssh -p 2222 user@example.com
|
ssh -p 2222 user@example.com
|
||||||
|
|
||||||
|
# To connect and forward the authentication agent
|
||||||
|
ssh -A user@example.com
|
||||||
|
|
||||||
# To execute a command on a remote server:
|
# To execute a command on a remote server:
|
||||||
ssh -t user@example.com 'the-remote-command'
|
ssh -t user@example.com 'the-remote-command'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue