Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 12:49:45 -0400
From:      Harry Tabak <htabak@quadtelecom.com>
To:        Tom Beer <mailings@analogon.com>
Cc:        security@FreeBSD.ORG
Subject:   Re: Putty & SSH
Message-ID:  <3BD99429.FEC70F35@quadtelecom.com>
References:  <006801c15dee$471d80c0$0901a8c0@system>

next in thread | previous in thread | raw e-mail | index | archive | help
I have been able to successfully use Putty to access a FBSD box using
SSH1. I used the RSA defaults to get an identity and identity.pub files
and I copied the identity.pub to authorized_keys. Your problems seem to
be sort of config issue.

Is putty configured to provide the your logon name, and the identity
file's location.

I have not been sucessful using SSH2.

	- Harry

Tom Beer wrote:
> 
> Hi,
> 
> I try to connect from my M$ to a Freebsd Box using Putty via
> SSH. The keys were produced with the normal procedure
> under BSD. However, it is not possible to connect without entering
> a user name and password. This fails, cause I only want to connect
> via the ssh key and configured sshd in that way. The log on BSD reads as
> follows:
> 
> Oct 25 14:18:14 strawberry sshd[158]: debug1: Forked child 15696.
> Oct 25 14:18:14 strawberry sshd[15696]: Connection from laptop.system port
> 1426
> Oct 25 14:18:14 strawberry sshd[15696]: Connection from 192.168.1.9 port
> 1426
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: Client protocol version 2.0;
> client software version PuTTY
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: no match: PuTTY
> Oct 25 14:18:14 strawberry sshd[15696]: Enabling compatibility mode for
> protocol 2.0
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: Local version string
> SSH-2.0-OpenSSH_2.3.0 green@FreeBSD.org 20010321
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: send KEXINIT
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: done
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: wait KEXINIT
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> diffie-hellman-group1-sha1
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: ssh-dss
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> 3des-cbc,blowfish-cbc,3des-cbc
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> 3des-cbc,blowfish-cbc,3des-cbc
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> hmac-sha1,hmac-md5,none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> hmac-sha1,hmac-md5,none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: none,zlib,none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit: none,zlib,none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: got kexinit:
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: first kex follow: 0
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: reserved: 0
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: done
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: kex: client->server 3des-cbc
> hmac-sha1 none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: kex: server->client 3des-cbc
> hmac-sha1 none
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: Wait SSH2_MSG_KEXDH_INIT.
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: bits set: 521/1024
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: bits set: 497/1024
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: sig size 20 20
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: send SSH2_MSG_NEWKEYS.
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: done: send SSH2_MSG_NEWKEYS.
> Oct 25 14:18:14 strawberry sshd[15696]: debug1: Wait SSH2_MSG_NEWKEYS.
> Oct 25 14:18:15 strawberry sshd[15696]: debug1: GOT SSH2_MSG_NEWKEYS.
> Oct 25 14:18:15 strawberry sshd[15696]: debug1: done: KEX2.
> Oct 25 14:18:17 strawberry sshd[15696]: fatal: Read from socket failed:
> Connection reset by peer
> Oct 25 14:18:17 strawberry sshd[15696]: debug1: Calling cleanup
> 0x805e72c(0x0)
> 
> Any pointers would be highly appreciated Tom
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

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




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