SSH bastion | SSH Jump host
Description
Syntax to use jump host
ssh -i "<ssh_pem_file>" \
-o "ProxyCommand ssh -i "<ssh_pem_file>" -W %h:%p <jump_host_user>:<jump_host_ip>" \
<instance_user>:<instance_host>Example of using Bastion host to SSH
ssh -i "aws_ireland.pem" \
-o "ProxyCommand ssh -i "aws_ireland.pem" -W %h:%p [email protected]" \
[email protected]SSH command options
Last updated