[SOLVED] how to connect a remote host via ssh behind proxy
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
in my office server[X] having two ports one WAN port with direct internet line ip=115.x.x.x
another LAN port with ip=192.168.x.x
one proxy server[Y] with two port WAN ip=115.x.x.y & LAN ip=192.168.x.y running squid port listen on 3128
& let say 5 system connetced in lan using proxy to connect internet where my system ip is 192.168.100.116 (say)
now i have to deliver/upload code,content etc on my client computer who is outside of our network i.e. other city
basically i have to go into server room and i use server[X] to connet to my client since it in direct line, no need of proxy or firewall to browse internet or any... i can connetc to my client machine via ssh as they have also given us a didecated IP i.e. 122.x.x.x
but i want to connetc my client from my local desktop computer with ip=192.168.100.116 using windows xp and putty as client.
If you are sitting at C and wanting to connect to A, but unable to make a direct connection yet able to connect to B, then you can follow the steps in #7 above, but substitute the right IP numbers for the ones I provided. There are two methods there, one chaining clients and the other using netcat. If you cannot use SSH to connect to the intermediary then there is likely no method that you can use to connect to the final machine either.
115 server accessing 122 via any VPN or 122 having public ip ? or is there any tunnel created for 115 server ? Actually we don't know your network architecture better you can contact your Network Administrator. He knows about your network traffic ways and restrictions and all. Maybe they will give you tunnel for this.
According to your output of tracert 22.214.171.124 command, you don't have access to this server from your local machine.
So ask your network admin to provide you ssh connection from your local machine to 126.96.36.199 server. I think if you are able to ssh 188.8.131.52 server, you may be able to access 184.108.40.206 server via ssh.
You want to connect 112.x.x.x server directly ? Ask your Network Administrator to create a Tunnel between your local machine IP Gateway and Remote location Gateway like any Site to Site VPN using Router or Firewall. Then only your able to connect directly.