LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-01-2004, 05:45 PM   #1
hwm
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Unhappy Fedora Linux allowing incoming SSH


Hi, and thank you for help in advance

I am a semi-newbie, and just installed Fedora Linux Core 2 on my intel workstation. I can send/receive email, ssh to other machines, but cannot connect to this machine from outside using ssh. When I try ssh, after a while, it gives the following message:

ssh: connect to host XXX.XXX.XXX.XXX port 22: Connection timed out

I tried to disable firewall or set eth0 (intel 82545GM gigabit) as a trusted device, but non of these worked. In my firewall configuration, I even tried allowing incoming telnet , but telnet didn't work either.

After each update of firewall configurations, I ran '/etc/init.d/iptables restart' to make sure
the change is in effect. I have no entry in /etc/hosts.allow or hosts.deny.

The outside machines that I tried to connect without success had: Redhat Linux 9, SGI Irix (can't recall the version), WinXP. At this point, the problem doesn't seem to be a firewall issue. Can it be related to the gigabit network card? I am lost. Can anyone give help please?

Thanks!

hwm
 
Old 09-01-2004, 06:06 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Is SSH deamon running?

# service sshd start
 
Old 09-01-2004, 06:09 PM   #3
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
Can you even ping the linux box from the outside? If not, then you're probably not on the same subnet.
 
Old 09-01-2004, 06:19 PM   #4
hwm
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I checked that sshd is running:

# ps -A |grep sshd
6593 ? 00:00:00 sshd

Also, I already tried ping from outside, and the machine responds OK. Once again, I have no problem sending and receiving emails.

Thanks,

hwm
 
Old 09-01-2004, 09:20 PM   #5
jonthelam
Member
 
Registered: Jul 2004
Location: Southern California
Distribution: Slackware 10
Posts: 61

Rep: Reputation: 16
Where are you connecting outside from? Your outside network maybe preventing traffic from port 22 to your network (highly unlikely). Some companies use proxy servers to allow access to the Internet. Maybe you need to add proxy info so that it can forward that request off? Just a thought...

Last edited by jonthelam; 09-01-2004 at 09:22 PM.
 
Old 09-06-2004, 02:50 PM   #6
hwm
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Cool PROBLEM SOLVED

I have checked with the system administrator of the domain, and indeed the SSH port was not open - the problem was not on this Fedora box. Now things work fine. Thank you!

hwm
 
  


Reply



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 Allowing Incoming X Connections with xhost + libin88 Linux - Enterprise 1 11-09-2005 03:25 PM
How do I setup SSH for internet incoming? PSIPHON Linux - Networking 15 09-02-2005 08:26 AM
SSH to my Fedora Core 2 box - Allowing just one IP!!! jpierre70 Linux - Security 4 07-30-2004 12:06 PM
Allowing incoming connections only from a spesific country? herc Linux - Security 1 04-12-2004 02:56 AM
Allowing for incoming ssh InsaneBob Linux - Software 11 04-12-2003 01:44 PM

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

All times are GMT -5. The time now is 09:42 PM.

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