LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-04-2008, 07:57 PM   #1
cslibby
LQ Newbie
 
Registered: Jun 2008
Location: Belvidere, Illinois
Distribution: CentOS 4 +, SuSE 9.2 to 10.3, Fedora Core 4 +, FreeBSD, Darwin, OSX, Cygwin, Ubuntu
Posts: 4

Rep: Reputation: 0
Connect to SSH Server thru Autheticated Windows HTTP Proxy from Command-line


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.

Thank you
 
Old 06-04-2008, 08:28 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 539

Rep: Reputation: 39
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...
 
Old 06-04-2008, 09:16 PM   #3
cslibby
LQ Newbie
 
Registered: Jun 2008
Location: Belvidere, Illinois
Distribution: CentOS 4 +, SuSE 9.2 to 10.3, Fedora Core 4 +, FreeBSD, Darwin, OSX, Cygwin, Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Can't have two machines to perform the function.

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.

Thanks again,
 
Old 06-07-2008, 10:33 AM   #4
cslibby
LQ Newbie
 
Registered: Jun 2008
Location: Belvidere, Illinois
Distribution: CentOS 4 +, SuSE 9.2 to 10.3, Fedora Core 4 +, FreeBSD, Darwin, OSX, Cygwin, Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
commandline, scripting, ssh, tunnel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect through a windows proxy server (FreeProxy) kieronj Linux - Networking 1 03-23-2008 05:40 PM
squid proxy refuses to connect remote server through ssh yukinK Linux - Networking 10 02-16-2008 10:17 AM
Using Nautilus-Connect-Server (or equivalent) on the command line - Ubuntu MonctonJohn Linux - Software 1 10-04-2007 07:18 AM
Connect to ssh via http proxy? jago25_98 Linux - Networking 1 04-04-2005 05:52 AM
uunable to connect http other then port 80 using proxy server askjha Linux - Networking 1 06-03-2004 02:38 PM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration