Guest User

Untitled

a guest
Feb 20th, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Although you can edit ~/.ssh/config file to proxy connections through a Bastion,
  2. the only line you need to do ssh tunnel through a bastion (with a .pem file) is:
  3. ```bash
  4. ssh -i ~/.ssh/file.pem -N -L 8080:internal.host:80 bastion-user@bastion.host
  5. ```
Add Comment
Please, Sign In to add comment