ssh.com ssh2 and OpenSSH 3.4.1 - publickey authentication

From: Anne M. Hammond (Anne.Hammond@lcd.Colorado.EDU)
Date: 01/09/03


From: "Anne M. Hammond" <Anne.Hammond@lcd.Colorado.EDU>
Date: Thu, 09 Jan 2003 14:35:54 -0700

We wish to scp without a password to a remote site running ssh.com
non-commercial version:
SSH Secure Shell 3.1.0 (non-commercial version) on sparc-sun-solaris2.6

We run OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL.

The problem is that the server always asks for a password.

On the client:
ssh-keygen -t dsa

Edit the resulting id_dsa.pub into ~/.ssh2/authorization on the server
machine.
Make sure there are no spaces.
-rwxr-x--- 1 hammond 601 Jan 9 13:58 authorization

debug1: authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try pubkey: /home1/hammond/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: publickey,password
debug1: try pubkey: /home1/hammond/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: next auth method to try is password
hammond@spot's password:

Any suggestions greatly appreciated. Is there an incompatibility
between
ssh.com and openssh??

Anne Hammond



Relevant Pages

  • public key auth using exported putty keys.
    ... I have openssh version 3.4p1 on two linux boxes. ... debug1: got SSH2_MSG_SERVICE_ACCEPT ... debug3: preferred publickey,keyboard-interactive,password ... debug3: authmethod_is_enabled publickey ...
    (comp.security.ssh)
  • public key auth using exported putty keys.
    ... I have openssh version 3.4p1 on two linux boxes. ... debug1: got SSH2_MSG_SERVICE_ACCEPT ... debug3: preferred publickey,keyboard-interactive,password ... debug3: authmethod_is_enabled publickey ...
    (comp.security.ssh)
  • multinet public key question
    ... but authentication fails. ... debug1: Connecting to ... ... debug3: key_read: missing keytype ... debug3: authmethod_is_enabled publickey ...
    (comp.os.vms)
  • openssh publickey auth not working any more
    ... I am trying to set up publickey auth. ... debug1: Reading configuration data /etc/ssh_config ... debug3: cipher ok: aes128-cbc ... debug2: kex_parse_kexinit: ...
    (comp.security.ssh)
  • Re: ssh/sshd cores dump
    ... debug1: sshd version OpenSSH_4.5p1 FreeBSD-20061110 ... debug2: fd 3 setting O_NONBLOCK ... debug3: preauth child monitor started ... debug3: mm_request_receive entering ...
    (freebsd-questions)