Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Although you can edit ~/.ssh/config file to proxy connections through a Bastion,
- the only line you need to do ssh tunnel through a bastion (with a .pem file) is:
- ```bash
- ssh -i ~/.ssh/file.pem -N -L 8080:internal.host:80 bastion-user@bastion.host
- ```
Add Comment
Please, Sign In to add comment