I have a strange problem. I have installed ssh2(v2.1.0) on 3 systems.
It works on two of them, but not on the third. The three systems are
an SP2 running AIX-4.3, an SGI O2 running IRIX-6.5, and an IBM laptop
running RedHat Linux 6.2. There were no compilation errors or install
errors and ssh2 seems to work fine on the SP2 and SGI. But, when I
try to make an ssh2 connection (any kind of connection) from the
Linux system to another system it fails. A typical connection attempt
with verbose output would be
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
companion 46% slogin binary
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
debug: connecting to binary.phy.wfu.edu...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: Ssh2Client/sshclient.c:1015/ssh_client_wrap: creating userauth
protocol
debug: Remote version: SSH-1.99-2.1.0 SSH Secure Shell (non-commercial)
debug: Ssh2Client/sshclient.c:349/keycheck_key_match: Host key found
from database.
debug: Ssh2AuthClient/sshauthc.c:304/ssh_authc_completion_proc: Method
'publickey' disabled.
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd:
Starting password query...
cookgb's password:
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd:
Starting password query...
cookgb's password:
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd:
Starting password query...
cookgb's password:
warning: Authentication failed.
debug: client_disconnect: No further authentication methods available.
debug: Ssh2/ssh2.c:77/client_disconnect: locally_generated = TRUE
warning:
Disconnected by application (No further authentication methods
available.).
debug: uninitializing event loop
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
It seems that my password is not being authenticated and the connection
is then dropped.
Here is some further info which may help. I have no trouble making a
connection from the SGI to the Linux machine using ssh2. I have no
trouble making a connection from the Linux machine to any other
machine using ssh1. The only thing slightly unusual about the Linux
machine is that its networking is set up dynamically via DHCP, so it
does not have its own hostname.
If anyone has a clue as to what is going on and how I can get ssh2 to
work, I'd appreciate the help. I can always get by with ssh1, but I
don't like to be "bested" by a computer.
Thanks,
Greg Cook