Merge pull request #198 from thylong/ssh_forward

Update cheat ssh
This commit is contained in:
Chris Lane 2014-12-29 21:37:39 -05:00
commit c4a5ca3900
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'