Connect to SSH Server thru Autheticated Windows HTTP Proxy from Command-line
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
I am needing to connect to my server on the Internet from a Linux Machine Inside a Windows Proxy Server which requires a user name and Password. I can connect thru Putty on Win32, but now need to set up a client on Linux to automate the remote monitoring of my devices out side my firewall. I do not call myself a new-bee, but am not fully familar with the commandline interface or ssh-config files on my machines. I use various distributions (CentOS, SuSE, Fedora Core 5+, Ubuntu, cygwin) so I am looking for a generic answer.
well if your ISA is the only firewall in between you and the internet then why not install putty and open RDP (tcp 3389) to the ISA box and SSH from your RDP session...
My problem is I am setting up a gateway to tunnel out of the proxied network and can only use a single machine. I tried installing Putty on Linux, but was only able to get the commandline (PLink) working. Unfortunately, documentation for PLink, Putty, or SSH do not show how to set up an authentication option from the command line. I am willing to call a configuration file from the commandline, and in the man page of ssh_config I see some options, but there are no examples, and I have to have this script able to run from a Plastic Linux so can not store any keys either. This is not just for me, but for my fellow instructors who know absolutely nothing about networking, let alone Linux. And, this may be used by students to access the lab from within a different firewall than the one I am tunneling through.
I hope I am being clear with my situation, as this has other implications for my system as well. Other threads have given me ideas which will tunnel on top of these connections.
By the way, I am not the owner of the Proxy, if I was, I could get around the problem by opening up a port for a specific IP address. I can not modify anything in the proxy.
After further thinking about the issue, I guess I need to also add the need to NOT use windows registry to define the proxy settings, a text configuration which I can modify with a script. I was able to do scripting in Windows with Putty using windows registry entries, but I have not yet found a way to penetrate the firewall from a Linux machine. If I can do it without putty in Linux, I will be able to overcome the other hurddles.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.