[opensuse] Turning off OpenSSH password authenication
I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do. tnx jk -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Aug 3, 2008 at 10:57 AM, James Knott
I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do.
tnx jk
Did you restart sshd? rcsshd restart? Also, if you installed your public key in authroized_keys on the server, it might be failing password authentication and then simply turning around and using your public/private key pairs giving the appearance of working. Try logging in as a different user. -- ----------JSA--------- There are 10 kinds of people in this world, those that can read binary and those that can't. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Andersen wrote:
On Sun, Aug 3, 2008 at 10:57 AM, James Knott
wrote: I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do.
tnx jk
Did you restart sshd? rcsshd restart?
Also, if you installed your public key in authroized_keys on the server, it might be failing password authentication and then simply turning around and using your public/private key pairs giving the appearance of working.
Try logging in as a different user.
I have tried as a different user and it asks for and accepts the password. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Andersen wrote:
On Sun, Aug 3, 2008 at 10:57 AM, James Knott
wrote: I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do.
tnx jk
Did you restart sshd? rcsshd restart?
Also, if you installed your public key in authroized_keys on the server, it might be failing password authentication and then simply turning around and using your public/private key pairs giving the appearance of working.
Try logging in as a different user.
Forgot to mention. I did restart sshd and even rebooted the computer. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 03 August 2008 19:57:25 James Knott wrote:
I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do.
Don't forget to set ChallengeResponseAuthentication to "no" Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Sunday 03 August 2008 19:57:25 James Knott wrote:
I've updated my firewall to OpenSUSE v11.0. I'm trying to disable password authentication, without much luck. I've set passwordauthenitication to no in sshd_config, but I can still log in using a password. Is there something I'm missing, as this used to be simple to do.
Don't forget to set ChallengeResponseAuthentication to "no"
That seems to have done the trick. However, it wasn't necessary in the previous firewall, using SUSE 10.0. In that one I just had to set passwordauthentication to no (I verified that with the backup copy of sshd_config.). Also, even disabling passwords using Yast SSHD config doesn't seem to affect that challengeresponse setting. Is this a bug somewhere. Now, I can reopen ssh in the firewall. tnx jk -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anders Johansson
-
James Knott
-
John Andersen