Skip to contentSkip to conversation

ssh - connection refused

DISCUSSION Jerry T 2 participants 2 messages Apr 13, 2002

lore
Share & tools
lore

Jerry T

author
#0 lore raw

I used slogin while trying connect through Cygwin. When that didn't work I downloaded Putty and tried the steps that you have listed. I am getting Connection Refused.

The OpenSSH daemon (sshd) is running because I can ssh to my own box.

I have no firewall up at this time and can ftp with no problem.

Quoted 39 lines

From: Richard Adams <[email protected]>
Reply-To: [email protected]
To: "Jerry T" <[email protected]>, [email protected]
Subject: Re: ssh - connection refused
Date: Sat, 13 Apr 2002 08:36:27 +0000

Quoted 2 lines · Jerry T

I have sshd running on a Redhat 7.2 box. Am able to telnet & ftp the box from a win2000 box. To try ssh I set up the following: On the win2000

box

Quoted 1 line

under Cygwin I ran "ssh-keygen -t rsa" to generate my key and used ftp

to

Quoted 2 lines

move the id_rsa.pub file to my Linux box. (I copied the file to .ssh/authorized_keys). From Cygwin on win2000 I tried to use slogin to

get

Quoted 10 lines

to my Linux box but I get "Connection Refused."

Also tried to rename authorized_keys to authorized_keys2.

The sshd process starts up when I boot up.

Also tried Putty instead of Cygwin. Same "connection refused" error.

Any ideas on what I am missing?

You say you use 'slogin' however with putty.exe you type in the approriate hostname or IP# choose SSH from the 4 options below the hostname box and click on open at the bottom of putty's window, it will then attempt to connect to the remote host on port 22 which is the port ssh uses.

On another note you should not need to copy any key files from/to anywhere, new keys should begernated upon a new connection if no key is found.

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

Quoted 5 lines

-
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

_________________________________________________________________
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

#1 lore raw
Quoted 3 lines · Jerry T

I used slogin while trying connect through Cygwin. When that didn't work I downloaded Putty and tried the steps that you have listed. I am getting Connection Refused.

Lets ask the question here, what do you do to get connection refused, can you enter a passwd,? do you need to enter a username.?
Please show us your commands and thier returned error messages.

Quoted 2 lines

The OpenSSH daemon (sshd) is running because I can ssh to my own box.

I take that to mean you can do;
ssh localhost

An example from one of my boxes;

pa3gcu@unix:~$ ssh localhost
pa3gcu@localhost's password:
Last login: Sun Mar 17 20:01:23 2002 from 172.16.164.130
Linux 2.2.19-5.
pa3gcu@unix:~$
Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
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