Hello,
I try to establish an ssh connection between two
systems, running HP UX 10.2 and SunOs 5.5.1,
respectively.
Version 2.0.13 of ssh is installed on both
of them.
I create private / public keys on both systems,
send the public key of one system to the other and
create the corresponding identification /
authorization files.
Connection from HP to Sun worked right from the
beginning, without problems.
However, connection from Sun to HP refuses to
work. The message I get is:
Disconnected; authentication error (No further
authentication methods available).
The file /etc/sshd2_config on HP contains the
line:
AllowedAuthentications publickey,password
but not publickey neither password authentication
are even tried!
(For example, when I connect from HP to Sun, if
publickey fails - p.ex. no HP-public key on Sun,
or no authorization file on Sun - ssh switches to
password authentication, asking me the pass on
Sun, as it should do).
I attach the following two files:
1) /etc/sshd2_config on HP (identical to
/etc/ssh2/sshd2_config on Sun)
2) result of the command
"Sun> ssh2 -v username@HP" on Sun.
Thank you in advance for your help.
Yannis ALIFERIS
PhD Student in Electromagnetic Inverse Scattering - Microwave Imaging
-------------------------------------------------------------------------
Laboratoire d'Electronique: Universite de Nice - Sophia Antipolis, France
tel: +33 4 92 94 28 43, fax: +33 4 92 94 28 12
ECE Department: National Technical University of Athens, Greece
Office: 6.22, Electroscience Division
tel: +30 1 77 2 36 94, fax: +30 1 77 2 22 81
Valid PGP Public Key IDs: DH/DDS: 0x41FB9DEB, RSA: 0x7781EFB1
--------------------------------------------------------------------------
"Sun system" > ssh2 -l "login" -v "Hp system"
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to "HP system"...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: Host key found from the database.
debug: client_disconnect: No further authentication methods available.
Disconnected; authentication error (No further authentication methods available.
).
debug: uninitializing event loop
"Sun system" >
# sshd2_config
# SSH 2.0 Server Configuration File
*:
Port 22
ListenAddress 0.0.0.0
Ciphers AnyStd
# Ciphers AnyCipher
# Ciphers AnyStdCipher
# Ciphers 3des
IdentityFile identification
AuthorizationFile authorization
HostKeyFile hostkey
PublicHostKeyFile hostkey.pub
RandomSeedFile random_seed
ForwardAgent yes
ForwardX11 yes
# DEPRECATED PasswordAuthentication yes
PasswordGuesses 3
# MaxConnections 50
# 0 == number of connections not limited
MaxConnections 0
# PermitRootLogin nopwd
PermitRootLogin yes
# DEPRECATED PubkeyAuthentication yes
# AllowedAuthentications publickey,password,hostbased
AllowedAuthentications publickey,password
# RequiredAuthentications publickey,password
ForcePTTYAllocation no
VerboseMode no
PrintMotd yes
CheckMail yes
UserConfigDirectory "%D/.ssh2"
# UserConfigDirectory "/etc/ssh2/auth/%U"
SyslogFacility AUTH
# SyslogFacility LOCAL7
Ssh1Compatibility yes
# Sshd1Path <set by configure>
# AllowHosts localhost, foobar.com, friendly.org
# DenyHosts evil.org, aol.com
# AllowSHosts trusted.host.org
# DenySHosts not.quite.trusted.org
# NoDelay yes
# KeepAlive yes
RequireReverseMapping yes
UserKnownHosts yes
# subsystem definitions
subsystem-sftp sftp-server