Skip to contentSkip to conversation

ssh - connection refused

DISCUSSION Jerry T 1 participant 1 message Apr 13, 2002

lore
Share & tools
lore

Jerry T

author
#0 lore raw

What works:

(from Linux box logging to itself)

ssh <my IP address>

What does not work (from win2000):

Putty using <my IP address> as host and my Linux user name. or
Cygwin - typing slogin <my ip address> -l <my linux userid>

***********

In all cases I only get a brief message saying "Connection Refused". (it does say that it is trying <my IP address> at Port 22. I am never prompted for a login or password.

I can FTP from win2000 to Linux with no problem.

Both ports 21 & 22 are open on my Linksys router and I have no firewall up on the Linux box. (ipchains and iptables are empty)

***********

I understand that I should be able to easily run putty without setting anything up. Something is keeping me from that "easy" task. Wouldn't be Linux if it was easy :)

Quoted 28 lines

From: Richard Adams <[email protected]>
Reply-To: [email protected]
To: "Jerry T" <[email protected]>, [email protected]
CC: [email protected]
Subject: Re: Fwd: Re: ssh - connection refused
Date: Sat, 13 Apr 2002 15:43:35 +0000

Quoted 4 lines · Jerry T

The /etc/ssh/sshd_config file already had the lines in it that you have listed.

I have been able to successfully ssh from my Linux box back to itself.

sshd

Quoted 2 lines

seems to be running fine. (sshd appears in the list of services that you see during bootup, sshd comes on just before xinetd)

I hope you dont mind me butting in on Ray's reply, however if what you say is correct, (to get it strait), your sshd is working as it should verified by using localhost, yes;
In that case then you must be using your windows loginname or something simalar to try to logon to your linux machine, ssh will only allow (in a normall standard install) a "valid" username and its valid user passwd defined in /etc/passwd, yes it needs to be the same, i see no reason why you cant login otherwise.
Futher more there is no need to do anthing on the windows machine in the way of copying or generating ssh files, it should be as easy as ftp'ing putty execuctuing it as i explained in my last mail.

Quoted 5 lines

--
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs