Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: sshd with router, sshd won't run on the lan, localhost ok< Next Oldest | Next Newest >
stuzz Offline





Group: Members
Posts: 4
Joined: May 2004
Posted: May 24 2004,16:30 QUOTE

Hi, I want to be able to use Linux through a ssh client (on my windows desktop PC) connecting to my laptop which is DSLinux.  sshd can be started (I don't think it runs at bootup by default, anyway I generated the keys as described in the ssh installation instructions and have them  in /etc/ssh.

The question is; if from the linux PC i type "ssh localhost" I can login to the system and I have a local ssh session.  If I type "ssh <insert-IP-of-DSLinux-PC>" it works -from the linux pc-.

If you type on the Windows PC "ssh <ip-of-DSLinux-PC>" I get "Network error; connection refused".

I am wondering if my d-link firewall is having some sort of issues with the ssh at all, but don't know enough to be able to tell if there is something wrong.  If I run Windows on both (XP;desktop, Me;laptop) there is full connectivity.

I'm confused; any help is greatly appreciated.

Thnaks for reading.
-Stu.
Back to top
Profile PM 
stuzz Offline





Group: Members
Posts: 4
Joined: May 2004
Posted: May 25 2004,15:35 QUOTE

Okay,

It turns out that the SSHd is working correctly: if I boot my other PC with a Knoppix live CD and ssh to my DSL box I can login as root (!).

So the problem is then with my WindowsXP pc.

Can anyone recommend a Windows SSH client that actually works???  I've spent about 3 hours tonight trying to get this to work, I've downloaded every SSH client I can from http://freessh.org/ and am unable to find a client that won't give me the "connection refused" error.

The only other thing I can think of is that maybe I don't have the encryption or something ocnfigured correctly?

-Stu.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 25 2004,18:45 QUOTE

Is your "Internet Connection Firewall" enabled in XP?

That was once a source of trouble for me, and it was
enabled without my knowledge...  (Probably chosen during
XP Install.. )

ke4nt
Back to top
Profile PM 
stuzz Offline





Group: Members
Posts: 4
Joined: May 2004
Posted: May 26 2004,02:28 QUOTE

Thanks for the reply ke4nt.  I got it working last night.  The problem was not to do with my firewall.

The issue was with the protocols.

I had to add the following line to/etc/ssh/sshd_config:

  Protocols 2

Then I set PuTTY to use "SSH 2 only" and it worked!

So thanks for replying, and if anyone else has this problem, and it's not your router, and it's not your firewall it's probably the protocols.

-Stu.
Back to top
Profile PM 
3 replies since May 24 2004,16:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: sshd with router

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code