7/2/2023 0 Comments Ssh tunnel awsOnce you sign in you should have a working tunnel, now to use it. Then add an SSH Tunnel before clicking Open: On most Linux distros it should be there already. On Windows you’ll need Cygwin to get OpenSSH. There are two methods that I’ll illustrate (and I’ll use 9999 as the proxy port, but you could use anything – 8000, 80 are other popular choices) Using OpenSSH SSH into your EC2 instanceįor this you will need an instance name (like ) or its IP (50.16.32.41) a username and password (and in some cases you may also need a correctly configured private key). This can be set in the AWS console or using ec2-auth: ec2auth securitygroup -P tcp -p 22 -s your_physical_machine_IP/32 Start your AMIįrom the AWS console or EC2 API Tools (or whatever your preferred higher level tool is). The security group that you will start your machine in should be reachable on port 22 from your IP. For the purpose of my test I used one of my old AMIs that I made with CohesiveFT Elastic Server. There are LOTS of AMIs out there, and the requirement for this is nothing more than an SSH daemon. So… start up an EC2 instance where you want a tunnel end point (in my case the US) SSH into it, and let some web traffic hitch a ride. Amazon Machine Images (AMIs) normally have some way of being administered over SSH. Popular SSH clients (like OpenSSH and Putty) have features that allow tunneling. I’ve been meaning to try this out for some time, and my recent trials with Amazon’s US Kindle Store prodded me into action.
0 Comments
Leave a Reply. |