LinuxQuestions.org
Visit Jeremy's Blog.
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 03-31-2004, 06:20 PM   #1
silasm
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
SuSE 8.2 sshd/networking issue..


Ok, not sure this if this is an issue with sshd or with networking as a rule on the box.

I'm trying to connect to a remote host.

I can connect to another machine on the same network with no problems. But when I try to connect to one specific machine, connections just time out. However, when I connect to the machine that I can connect to, and then ssh to the uncooperative machine from that that machine, it coonnects right away, no issues.

(yes, sshd is set to listen on port 28)

ssh -v is ..... rather uninformative (i get the same output with -vvv, by the way):

[root@microprecision] # ssh somehost.somenet.com -p 28 -v
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1
debug1: Connecting to somehost.somenet.com [xxx.xxx.xxx.xxx] port 28.
debug1: temporarily_use_uid: 0/0 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/0 (e=0)
ssh: connect to address xxx.xxx.xxx.xxx port 28: Connection timed out
debug1: restore_uid
[root@microprecision] #

Nothing in /var/log/messages (where I assume sshd logs under suse) on the uncooperative machine when I try to connect from the remote host. When I connect from the local network (which, as I said, works), I get notification from sshd:

Mar 31 07:24:27 gdl-fileserver sshd[1573]: Accepted password for root from ::ffff:192.168.0.250 port 1117 ssh2


I'm guessing this is a network configuration issue, but .... default route is properly defined on bad machine, /etc/resolv.conf is ok, /etc/hosts.allow has sshd set to ANY:ALLOW and nothing relevant in /etc/hosts.deny.

Suse's firewall is currently turned off.

This is trying to connect through a router with port forwarding enabled, port 22 to the machine that works, port 28 to the uncooperative machine. I doubt that is the issue, though, because I've reversed the configuration, and been able to connect to the good box (when moved to 28) and not to the uncooperative box (on 22 for the test).
 
  


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
Issue with sshd (openssh 3.5p1-6) eid Linux - Security 3 11-21-2005 07:10 AM
sshd (openssh) issue. The_mystiC Linux - Software 3 11-03-2005 08:06 AM
sshd and suse 9.1, need help configuring it oily_rags Linux - Networking 2 09-11-2004 06:24 PM
Suse 9.0 SSHD problem, please help. suseman Linux - General 1 02-23-2004 08:31 AM
starting sshd on SuSE 7.0 glock19 Linux - General 2 05-02-2002 03:21 PM

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

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