I solved my last reported problem, but now I have another!

First, let me tell you how I solved the first problem:  I set
"StrictHostKeyChecking" to "ask" in the ssh2_config file.  When I
installed ssh-2.2.0, I used the default settings for each installation,
however, I discovered that the ssh2_config is not identical across various
IRIX machines.  In some, "StrictHostKeyChecking" was not even listed as an
option, or was commented out.  It also seems that in such cases when the
value was not set explicitly, ssh chose a random setting.


Now, I've discovered another host with a problem when trying to use
publickey authentication. I created the appropriate keys with keygen2 and
reciprocally copied the appropriate key.pub into the appropriate user
.ssh2 directories.

The sshd2_config file on both machines includes:
  AllowedAuthentications          publickey,password

Never-the-less, when I try to log into the other machine, it says that
"Method publickey" is disabled, and then it asks for a password.  The
publickeys do indeed match (I checked them with "diff"), and have even
tried reinstalling ssh and recycyling the daemons.  The actual errors are
given below.

What am I missing?

Thanks,
Gary


/usr/local/bin/ssh2 -v <remote-usr>@<remote-host>
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
debug: hostname is '<remote-host>'.
debug: Unable to open /<path-to-usr>/.ssh2/ssh2_config
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
debug: connecting to <remote-host>...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: Ssh2Client/sshclient.c:1097/ssh_client_wrap: creating userauth
   protocol
debug: Remote version: SSH-1.99-2.2.0 SSH Secure Shell (non-commercial)
debug: Ssh2Client/sshclient.c:399/keycheck_key_match: Host key found from
database.
debug: Ssh2AuthClient/sshauthc.c:309/ssh_authc_completion_proc: Method
   'publickey' disabled.
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd:
Starting password query...
<remote-usr>'s password:

Reply via email to