Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-19-2004, 04:41 PM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Redhat 9.0
Posts: 9

Rep: Reputation: 0
ssh problems

Here is my problem. I am trying to log in to my linux box remotely running Red Hat 9.0. I do a port scan using nmap and it says that port 22 is open with the ssh service running.

I use the ssh client on the linux box itself pointing to it's ip address ( which is reserved for this machine through by Linksys router) or using the localhost address on and it works fine.

I try using putty on my windows laptop on the intranet and point it to and I get an "Unknown network error". I look at the log on the linux box and I do not see any entries that there was a problem. I know that the putty client on my windows box works because I am able to log in the linux box that I have at home with no problems( Both remotely and locally).

I have configured the router at work to point all requests to port 22 to the linux box I am trouble with. So I tried to point both my laptop from home (using putty) and my linux box (using ssh) to the IP address (it is a dynamic IP address so I keep track of it using I get the same "Unknown network error" with putty and the conection times out using ssh.

Any suggestions or troubleshooting techniques would be appreciated. Thanks, Gene
Old 03-19-2004, 05:31 PM   #2
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
How do you connect from your client to your linux box? From the sounds of the ip addresses, you appear to be on a LAN. Can you ping the linux box from the windows machine?
Old 03-19-2004, 05:52 PM   #3
LQ Newbie
Registered: Oct 2003
Distribution: Redhat 9.0
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, I am connected from to a LAN when I connect using the address to start the client on my windows box. I have also tried it from my home.

I believe the networking portion(at least some portion) of it is working because I am using it for a web server that is running apache/mysql. It is function properly from both the internet as well as from the LAN.

I am back at home an will not be able to ping the linux box from my LAN until tomorrow in the morning. If I ping it from my house the router is set up to respond to a ping at the dynamic IP address so that will not tell me anything. Will pinging the linux box from the LAN tell me something that the fact that a functioning httpd does not? If it does I will swing by the office in the morning and try it. Thanks for getting back to me. Gene
Old 03-19-2004, 06:59 PM   #4
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
I had a similar problem from work, and it turned out that they have some sort of firewall or other security in place which does not allow ssh traffic out. I was able to do it from reflectionx, which is an xterm emulator for winblows, but had to do a runsocks command preceding the ssh command in order to get out. Putty simply will not work, and IT guys told me there's nothing I can do about it.

Point is, it could just be the LAN at your work blocking you. I too run httpd and can, of course, always get to the website from anywhere. It not only uses a different port ( which is allowed out of the network) but obviously different protocols and security measures.

Good luck anyways...


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
Problems with SSH paul.nel Linux - Networking 17 08-09-2011 02:40 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
SSH problems newbie21209 Linux - Networking 10 06-17-2005 01:01 AM
problems with SSH hostprotect Linux - Software 2 01-11-2005 07:15 PM
SSH problems (but only one way) blueares Linux - General 3 10-21-2004 02:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 PM.

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