LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-20-2005, 01:15 PM   #1
halfcan
LQ Newbie
 
Registered: Nov 2004
Posts: 14

Rep: Reputation: 0
Accespting SSH connections from other hosts


Hello,

I have a brand new install of Fedora Core. I've contigured networking, but thats about it.
I can ssh to other hosts, and I can ssh to myself, but when I try to ssh to this computer from somewhere else, I get "no route to host"

ssh appears to running ok:
[hc@spawn ~]$ ps -ef | grep sshd
root 1903 1 0 12:39 ? 00:00:00 /usr/sbin/sshd
root 3254 1903 0 14:06 ? 00:00:00 sshd: hc [priv]
hc 3256 3254 0 14:06 ? 00:00:00 sshd: hc@pts/3

Any quick ideas?

Thanks
HC
 
Old 02-20-2005, 01:16 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are you sure you are connecting to the right IP address?

Are the machines you are connecting from on the same LAN?

Do you have any firewall rules in place?
iptables -nL
 
Old 02-20-2005, 02:25 PM   #3
halfcan
LQ Newbie
 
Registered: Nov 2004
Posts: 14

Original Poster
Rep: Reputation: 0
yes the ips are correct, all on the same lan (192.168.1.0)

no firewalls are involved. hosts are via a hub.

Thanks,

HC
 
Old 02-20-2005, 02:37 PM   #4
halfcan
LQ Newbie
 
Registered: Nov 2004
Posts: 14

Original Poster
Rep: Reputation: 0
hmmmm. I was wrong. there IS a firewall. It must have been installed on the install, because I sure didn't intend for it to be there.....
I disabled it, and it works fine.
Thanks.
HC
 
Old 02-20-2005, 03:59 PM   #5
michux
Member
 
Registered: Nov 2004
Location: Warsaw, Poland
Distribution: Ubuntu
Posts: 76

Rep: Reputation: 15
Have you tried to allow 22 port on the firewall? As far as I remember it is blocked by default.


Edited: sorry I haven't seen your post.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with SSH connections Kero-Chan Linux - Networking 10 10-15-2004 06:34 PM
Hosts Connections mgp Linux - Security 3 09-25-2004 03:42 PM
Allowing connections to apache and qmail in hosts.allow reesee Linux - Security 2 04-11-2004 10:41 PM
Can I see ssh connections? bruno buys Linux - Networking 4 11-19-2003 02:46 PM
SSH is blocking my connections tarballedtux Linux - Security 8 11-01-2002 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:17 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