Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 10:59:34 -0500
From:      Eric Six <erics@sirsi.com>
To:        questions@FreeBSD.ORG
Subject:   SSH and public key authentication..
Message-ID:  <DC32C8CEB3F8D311B6B5009027DE5AD505E33E0D@stlmail.dra.com>

next in thread | raw e-mail | index | archive | help
Hi all..

I am trying to use public key authentication between a freebsd 4.6 box and a
sun box. I have numerous other sun boxes doing publickey authentication,
mainly for scp scripts. I have setup the bsd box so it is configured the
same. I have generated the keys and copyied the id_dsa.pub to the sun server
and placed it in the authorized_keys file.  
However, everytime I invoke scp or ssh on the bsd box, it is forcing
password authentication. 

Output with -v -v;
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1001 geteuid 1001 anon 1
debug1: Connecting to filestore [10.203.60.137] port 22.
debug1: temporarily_use_uid: 1001/1001 (e=1001)
debug1: restore_uid
debug1: temporarily_use_uid: 1001/1001 (e=1001)
debug1: restore_uid
debug1: Connection established.
debug3: No RSA1 key file /home/esix/.ssh/id_dsa.pub.
debug1: identity file /home/esix/.ssh/id_dsa.pub type 2
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.0.2p1
debug1: match: OpenSSH_3.0.2p1 pat ^OpenSSH
debug1: Local version string SSH-1.5-OpenSSH_2.9 FreeBSD localisations
20011202
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug3: check_host_in_hostfile: filename /home/esix/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host 'filestore' is known and matches the RSA1 host key.
debug1: Found key in /home/esix/.ssh/known_hosts:1
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing password authentication.

If I do the same on the sun boxes, I see it's authenticating via
publickey,password,interactive. What will get ssh on fbsd to do this?

TIA
Eric

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?DC32C8CEB3F8D311B6B5009027DE5AD505E33E0D>