LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem_SSH with Putty (http://www.linuxquestions.org/questions/linux-networking-3/problem_ssh-with-putty-438919/)

zhisgp 04-26-2006 04:26 AM

Problem_SSH with Putty
 
I newly installed Slackware 10. When I try to remotely ssh my linux box, there is always "network" problem. the linux box is connect to the internet through LAN, and within the same hub, I have no problem ssh my linux box; outside of the hub, I can't ssh it.

Please help

peter_robb 04-26-2006 05:01 AM

Is the ip number on your linux box the same as the ip number on the hub?

Do ifconfig to check the ip number on the box..

zhisgp 04-26-2006 12:32 PM

ssh
 
the ip in the linux box is xxx.xxx.x.001, and the pc I ssh from is xxx.xxx.x.002. Is that consider the same?

outside, say yyy.yyy.y.yyy. ip can not ssh the linux box above.

spooon 04-26-2006 03:06 PM

Quote:

Originally Posted by zhisgp
I newly installed Slackware 10. When I try to remotely ssh my linux box, there is always "network" problem. the linux box is connect to the internet through LAN, and within the same hub, I have no problem ssh my linux box; outside of the hub, I can't ssh it.

Please help

You are probably behind a router. If so, you need to configure the router to forward the incoming SSH port (22) to your Linux machine.

metallica1973 04-26-2006 03:20 PM

Quote:

the ip in the linux box is xxx.xxx.x.001, and the pc I ssh from is xxx.xxx.x.002. Is that consider the same?

outside, say yyy.yyy.y.yyy. ip can not ssh the linux box above.


When you say "hub' do mean the same network or do mean a physical hub. If you are using a physical hub then is will not have any affect on that segment of your network. Hubs are stupid and have no routing capablilties at all. What ip networks are you using? If let say one of your pc's is using 192.168.100.2 and another pc is using another subnet like 192.168.101.4 then you would need a route to that network thus needing a router to connect you to a different network. what does your routing table look like (/sbin/route -n)? If your routes are not correct then you can experience that problem as well. It sound to me that you are having a routing table issue and not anything physical.


All times are GMT -5. The time now is 07:12 PM.