LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-26-2006, 04:26 AM   #1
zhisgp
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
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
 
Old 04-26-2006, 05:01 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
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..
 
Old 04-26-2006, 12:32 PM   #3
zhisgp
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 04-26-2006, 03:06 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
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.
 
Old 04-26-2006, 03:20 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Rep: Reputation: 57
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.

Last edited by metallica1973; 04-26-2006 at 03:32 PM.
 
  


Reply

Tags
ssh


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
x11vnc through putty? nicedreams Linux - Software 1 06-04-2005 04:37 AM
Re: Putty unixfreak Linux - Newbie 6 09-01-2004 11:42 AM
Need help with PUTTY unixfreak Linux - Software 2 08-30-2004 06:06 PM
need help with putty on winXP please Lleb_KCir Linux - General 3 05-13-2004 02:55 PM
Other than putty KaktusKnight Linux - General 4 05-07-2003 01:28 PM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
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