Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 03:37:37 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Roger Merritt <mcrogerm@stjohn.ac.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can't get PuTTY to connect
Message-ID:  <20011015033737.Q309@blossom.cjclark.org>
In-Reply-To: <3.0.6.32.20011015170134.007b0100@stjohn.stjohn.ac.th>; from mcrogerm@stjohn.ac.th on Mon, Oct 15, 2001 at 05:01:34PM %2B0700
References:  <3.0.6.32.20011015170134.007b0100@stjohn.stjohn.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 15, 2001 at 05:01:34PM +0700, Roger Merritt wrote:
> I've used ssh-keygen to create a key-file on my FreeBSD box, did a 'cat
> identity.pub > authorized_keys' and then used FTP to transfer identity.pub
> to my Windoze box. I keep getting the message, "Unable to open connection:
> connection refused."

This is at the Windows machine running an SSH client? "connection
refused" almost always means that the TCP connection is being
rejected. The TCP connection must be established before SSH even
starts. This does not sound like an SSH authentication issue.

> I haven't been able to find any output from sshd.

Not surprising. It probably is never seeing a connection attempt. It
is running and listening on port 22, right?

> I *have* been able to verify that my ipfw ruleset is allowing at least the
> setup connection, but anything after that is lost in the fog.

To port 22? How do you know? A tcpdump(8) of the initial connection
attempt may help us here.

> When I FTP'd the identity.pub file to my windows box I used the binary
> setting. Should I have used the ascii setting?

Again, it doesn't sound like you ever get to the SSH part of the
connection.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015033737.Q309>