LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2006, 02:36 PM   #1
bretcurry
LQ Newbie
 
Registered: Sep 2003
Location: 24291 San Juan Drive, Tehachapi, CA 93561
Distribution: debian-woody
Posts: 21

Rep: Reputation: 15
Suse 10.0 and ssh can't connect from another computer


Hi all,
I'm running suse 10.0 and I am unable to connect via ssh from another computer. I can ping the system. rcsshd status says sshd is running.
 
Old 04-01-2006, 05:06 PM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
there's a lot to consider here...
- is the computer you're ssh-ing from on the same network as your host?
- do you know that port 22 is not firewalled either on the way out of the other computer, or somewhere in between the two, or on your linux host?
- you could try ssh-ing from the host itself:
ssh localhost
- this would tell you at least that sshd is working fine, and that it's probably some network/firewall issue
- there are lots of things in the sshd_config file that could trip you up - look especially in the authorisation section
- you may need to add to the hosts.allow file - though this would be specified in the sshd_config file
- have you got logging turned on on the host? have a look at sshd_config for SyslogFacility to find out, then see what's in /var/log/auth.log or /var/log/syslog (tho i'm not familiar with suse, so it might be different files or directory). this might tell you that you're reaching the host, but failing to authorise for some reason.

but it's probably a firewall issue. does suse install with an active firewall?
are the two machines separated by a router at home? you will need to allow outside traffic on port 22 into your network/computer

and, if you are opening up your network for the first time, do it carefully, it's a big bad world out there. read about network security.
 
Old 04-01-2006, 10:48 PM   #3
bretcurry
LQ Newbie
 
Registered: Sep 2003
Location: 24291 San Juan Drive, Tehachapi, CA 93561
Distribution: debian-woody
Posts: 21

Original Poster
Rep: Reputation: 15
firewall

Turns out the firewall was turned on. Thanks for the advice.
 
Old 04-02-2006, 06:03 PM   #4
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Rep: Reputation: 15
command line: /usr/sbin/sshd - p port#

will change the port so it's not 22 like everyone would probably guess. you could put that in a script at startup to always be on that port for ssh.

Tom
 
Old 04-02-2006, 06:30 PM   #5
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Rep: Reputation: 15
actually do a find -name on sshd_config. I think it is /etc/ssh/sshd_config. you can change the ports there too.

Tom
 
  


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
Trying to connect a second computer to the internet through the first mbreith Linux - Newbie 7 02-21-2006 03:13 AM
cannot connect to a socket from other computer duongvn Linux - Networking 4 04-15-2005 12:11 AM
can connect to my ftp from any computer EXCEPT my own poiuytrewq Linux - Networking 1 04-13-2005 11:43 AM
new computer and os, how do i connect to the net ftcnt Linux - Newbie 2 05-05-2004 11:47 AM
simplest way to connect to another computer? hobylinux Linux - Newbie 9 08-22-2003 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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