Strange behaviour with OpenSSH 3.1p1 +

Shawn Starr shawn.starr at datawire.net
Wed May 22 20:19:51 EST 2002


I've been using OpenSSH for quite along time now and I've ran into this
strange bug:

ssh_askpass: exec(/usr/local/libexec/ssh-askpass): No such file or
directory

Host key verification failed.

This happens when i have X running.


Without X I see the following:

....

debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/spstarr/.ssh/identity type -1
debug1: identity file /home/spstarr/.ssh/id_rsa type -1
debug1: identity file /home/spstarr/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.1p1
debug1: match: OpenSSH_3.1p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 141/256
debug1: bits set: 1604/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
Host key verification failed.
debug1: Calling cleanup 0x80643b0(0x0) 

Also, when I wipe out $HOME/.ssh SSH does *NOT* generate a known_hosts
file. Its supposed to prompt me for host identification/key but it
doesn't. I've also removed ssh_config and sshd_config and this still
happens.

But when I run ssh as root it works fine (?). sshd is setuid root.


If I copy root's .ssh to my $HOME dir, then SSH runs but it rejects all
methods of authentification.

OpenSSH built with configure options: --sysconfdir=/etc/ssh
--with-md5-passwords

What broke? ;-)

This is from a Linux environment.

-- 
Shawn Starr
Developer Support Engineer
Datawire Communication Networks Inc.
10 Carlson Court, Suite 300
Toronto, ON, M9W 6L2
T: 416-213-2001 ext 179  F: 416-213-2008




More information about the openssh-unix-dev mailing list