Quote:
Originally posted by ciaoci
I haven't used a command line but the windows widget tool, here the files permissions:
ciccio@pisa1:~/.ssh2$ ls -al
total 16
drwxr-xr-x 2 ciccio users 4096 Oct 7 19:03 ./
|
Now that might very well be the cause. The ~/.ssh2 directory must not be read/writable by others than yourself (drwx------).
Also, in the sshd_config, why did you change
Code:
#AuthorizedKeysFile .ssh/authorized_keys
AuthorizedKeysFile ~/.ssh2/authorization
?
It might be that the ssh daemon still looks for a .ssh directory for the public key etc, even though you define a directory .ssh2 (but of this I'm not sure).
Fix the permissions first, that may already be enough. Also try running server with a debug option after stopping the running daemon first:
Code:
killall sshd
/usr/sbin/sshd -D
so that you can look at what the daemon tells you when the client connects.
Eric