Hi I am trying to connect to a squeeze VM as a standard user using ssh keys, whenever I try to ssh into the box the connection is closed by the VM:
ram@g5:~$ ssh -v lal-squeeze OpenSSH_5.5p1 Debian-6+squeeze1, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to lal-squeeze [192.168.100.11] port 22. debug1: Connection established. debug1: identity file /home/ram/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/ram/.ssh/id_rsa-cert type -1 debug1: identity file /home/ram/.ssh/id_dsa type -1 debug1: identity file /home/ram/.ssh/id_dsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze1 debug1: match: OpenSSH_5.5p1 Debian-6+squeeze1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr 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 'lal-squeeze' is known and matches the RSA host key. debug1: Found key in /home/ram/.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: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering public key: /home/ram/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/home/ram/.ssh/id_rsa': debug1: read PEM private key done: type RSA Connection closed by 192.168.100.11 ram@g5:~$ I can't find anything in the logs regarding this connect. I can log onto the box as root. Next when I su to a user account I receive the following: root@lal-squeeze:~# su -l laltest su: Authentication failure (Ignored) laltest@lal-squeeze:~$ so something is clearly wrong and I imagine this authentication issue may be related to the inability to log on as a user. Also I have a cron job scheduled, via crontab, to run at 21:01 everyday. It fails to run and the only reference to this I can find in the logs is the following: Apr 8 21:01:01 lal-squeeze CRON[14107]: Authentication failure So I imagine that this is a different manifestation of the same problem. Any recommendations on how to debug this issue? Cheers Adam -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+mfgz2mx5yghgtparncp2tkgfk3-ffns2-ap7oo9g2jt8m...@mail.gmail.com