多段SSHをワンライナーで行う
2020-06-20
Step Server
- x.x.x.x
VPC内のEC2
- 10.0.1.2
ssh -i ~/.ssh/hoge.pem ec2-user@10.0.1.2 -o ProxyCommand='ssh -i ~/.ssh/hoge.pem -W %h:%p ec2-user@x.x.x.x'
2020-06-20
ssh -i ~/.ssh/hoge.pem ec2-user@10.0.1.2 -o ProxyCommand='ssh -i ~/.ssh/hoge.pem -W %h:%p ec2-user@x.x.x.x'