Update cheat ssh

This commit is contained in:
thylong 2014-12-26 15:57:01 -05:00
parent 603bc360c0
commit 956ce7fadd
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ ssh -i /path/to/file.pem user@example.com
# To connect on an non-standard port:
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:
ssh -t user@example.com 'the-remote-command'