Skip to content

Instantly share code, notes, and snippets.

@toff63
Last active October 20, 2015 20:58
Show Gist options
  • Save toff63/043e8d7361d80a9047a7 to your computer and use it in GitHub Desktop.
Save toff63/043e8d7361d80a9047a7 to your computer and use it in GitHub Desktop.
 ssh -t -i KP_bastion ec2-user@bastion \
 ssh -t -i /home/ec2-user/.ssh/KP_server [email protected] \
 "tail -f /var/log/syslog"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment