From 956ce7fadd569b5579919c6f8e85d9ae54e39c22 Mon Sep 17 00:00:00 2001 From: thylong Date: Fri, 26 Dec 2014 15:57:01 -0500 Subject: [PATCH] Update cheat ssh --- cheat/cheatsheets/ssh | 3 +++ 1 file changed, 3 insertions(+) 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'