[beginner] Help with public key authentication

From: Francesco (fmarchioniNIENTESPAM_at_libero.it)
Date: 05/02/03

Date: Fri, 02 May 2003 13:07:35 GMT

Hi all,
I'm trying to configure OpenSSH on Linux to use public keys instead of

I have configured sshd property file these lines uncommenting:

RSAAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no

I have copied my public key on the remote computer
but I get only "Permission denied (publickey,keyboard-interactive)".
when I try to ssh on the remote account. (By the way I also tried launching
ssh-agent and ssh-add [key] as suggested on the tutorials but it doesn't

Here's a snap of the ssh log:
Hope somebody helps me
thanks a lot

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be
debug1: ssh_connect: needpriv 0
debug1: Connecting to acer [] port 22.
debug1: Connection established.
debug1: identity file /home/Francesco/.ssh/identity type 0
debug1: identity file /home/Francesco/.ssh/id_rsa type -1
debug1: identity file /home/Francesco/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
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: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 147/256
debug1: bits set: 1619/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'acer' is known and matches the RSA host key.
debug1: Found key in /home/Francesco/.ssh/known_hosts:1
debug1: bits set: 1552/3191
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: service_accept: ssh-userauth
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try privkey: /home/Francesco/.ssh/id_rsa
debug1: try pubkey: /home/Francesco/.ssh/id_dsa
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: no more auth methods to try
Permission denied (publickey,keyboard-interactive).
debug1: Calling cleanup 0x8068fc0(0x0)
lost connection