Kees Jongenburger wrote: > On Sun, Aug 23, 2009 at 9:27 PM, Jeffrey > Barish<[email protected]> wrote: >> There was an update to openssh recently. Since installing it, I cannot >> ssh to the N800. I copied id_rsa.pub to /home/user/.ssh/authorized_keys >> even though it had not changed. I edited /etc/ssh/ssh_config so that it >> contains PubkeyAuthentication yes >> RSAAuthentication yes > usually you need to use authorized_keys2 and not authorized_keys is > you use ssh2 >> ssh is still asking me for user's password when I do ssh u...@nokia. I >> even tried >> PasswordAuthentication no >> The permission on authorized_keys is 600 and the owner is user.users. >> When I changed PasswordAuthentication to no in /etc/ssh/sshd_config, I >> get Permission denied (publickey) > > try using ssh -v n810 to get more information about where is goes wrong
Your suggestion to try ssh -v led me to debug mode for sshd: /etc/init.d/ssh stop /usr/sbin/sshd -d I discovered that user user was "not allowed because account is locked". /etc/passwd had ! as the password for user. I changed it to *, at which point I was able to ssh in. It's hard to imagine what the openssh upgrade did to create this problem. Thanks for the response. -- Jeffrey Barish _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
