Luigi Pinna wrote: > In /etc/ssh/sshd_config I have: > ... > # HostKeys for protocol version 2 > HostKey /etc/ssh/ssh_host_rsa_key > HostKey /etc/ssh/ssh_host_dsa_key > ... > #RSAAuthentication yes > PubkeyAuthentication yes > AuthorizedKeysFile .ssh/authorized_keys > ... > # To disable tunneled clear text passwords, change to no here! > PasswordAuthentication yes I have set this to no
> PermitEmptyPasswords no > # Change to no to disable s/key passwords > ChallengeResponseAuthentication yes > ... > UsePAM no > ... > > If I disable the password authentication, when I try to connect I > receive the message: > Permission denied (publickey,keyboard-interactive). > If it is enable, the password it's requires to me. > Can someone help me to set it up? So I am more a newb than a nerd but what have you done so far? how did you create your keys and did you paste the public key into the ~/.ssh/authorized_keys file where the home dir must be the home dir of the user you want to let login. and just for testings set PasswordAuthentication to no and test again. i kept the HostKey vars commented and everthing works fine to me. > Thanks, > Luigi > greets dominik -- [email protected] mailing list

