[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SSH without passwrd



Hi,

I know, that this subject was answered more times,
but I still have problems. Using Debian 3.1r0a - sarge,
I set up two machines. The SSH servers installed are identical,

OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004.

I did generate the DSA key for each user (user A on machine One,
user B in machine Two), I copied the ID's with ssh-copy-id and
they are visible in the 'authorized_keys' files. The keys do
not use password, because want to use scp communicatio in
the background, without prompting me for password.

When I issue the 'ssh B@Two' on machine One it asks me for the
password and vice-versa on machine 'Two'.

Is there an other config? This is the debug listing:

OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to Two [192.168.xyz.xyz] port 22.
debug1: Connection established.
debug1: identity file /home/A/.ssh/identity type -1
debug1: identity file /home/A/.ssh/id_rsa type -1
debug1: identity file /home/A/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
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(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'Two' is known and matches the RSA host key.
debug1: Found key in /home/A/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive,hostbased
debug1: Next authentication method: publickey
debug1: Trying private key: /home/A/.ssh/identity
debug1: Trying private key: /home/A/.ssh/id_rsa
debug1: Offering public key: /home/A/.ssh/id_dsa
debug1: Authentications that can continue: publickey,keyboard-interactive,hostbased
debug1: Next authentication method: keyboard-interactive
Password:

Please, help me. Thank you.
--
László Graf



Reply to: