LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-14-2004, 12:51 AM   #1
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
trying to ssh from home


We have some servers at a co-location facility, and one of them is now a Linux box (yippeeeee!) running Red Hat 8. I was thrilled when I figured out how to start sshd running on it today, and from a nearby Win2K server on the same private network (behind the same router and firewall) I can ssh into it using Putty and the machine's public IP address. I got home and tried getting into it from my XP box but it says Connection refused. Actually, I also got into it from the XP box when I had it plugged into that same internal network earlier today. So why can't I hit it now? Like I said, I've always been ssh'ing using the public address, not the private one, so I was thinking it must be going out over the net and coming back to it.

We had opened a ticket with our small ISP to have one of their guys open up port 22 on our router, but I don't know if that got done or not, and I don't know enough to figure out whether or not it's open other than to try to use it! But if the firewall is still shutting down traffic on that port, how was the Win2K machine able to ssh using a public IP address to a machine behind that firewall? Is it possible that our router is caching that public IP address or something like that and just redirecting it straight-away to the Linux box so that it doesn't really have to go out over the net?

Thanks...
 
Old 08-14-2004, 12:57 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Using public ip doesn't force the packages to any further than to first gateway that is aware of the network layout, so it is quite probable that the packages actually stayed in lan behind the firewall when you used the box from the office.
 
  


Reply


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
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 10:55 PM
trying to ssh to my home computer bwoodwar Linux - Newbie 2 09-15-2005 10:20 AM
ssh to box at home z3nith Linux - Networking 3 09-13-2005 11:22 PM
ssh-keygen on network mnt /home ronin1 Linux - Software 4 10-06-2004 01:54 PM
can't ssh to home jefferson117 Linux - Newbie 3 11-08-2002 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration