amazon ec2 - AWS EC2 scp from private subnet instance to bastion -


i using jump server (bastion) connect private ec2 instance. connection successful, not able scp jar file private ec2 instance jump server location.

command: [ec2-user@ip-xxx-xx-xx-x3 ~]$ scp x.jar ec2-user@xx.xxx .xx.xx5:/home/user

result: "ssh: connect host xx.xxx.xx.xx5 port 22: connection timed out

would highly appreciate input/suggestions fix this.

do security group rules allow traffic bastion private instance, or bastion private? assume description you're copying private bastion? if rules 1 way have tried running reverse scp. so: scp ec2-user@ip-xxx:/path/to/file.jar ./file.jar


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -