diff --git a/cheat/cheatsheets/ssh b/cheat/cheatsheets/ssh index ce11b52..e484673 100644 --- a/cheat/cheatsheets/ssh +++ b/cheat/cheatsheets/ssh @@ -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'