Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Note this is really nothing to do with keys at all, just "not passwords". so you'd just set PasswordAuthentication to "no" as per the manpage for sshd_config
Check your settings one more time ... "keyboard-interactive" ought not be in that message.
As noted elsewhere, "ssh" has a very annoying "fee-chur" in that it will accept any authentication-method that it's been told to accept. "What? You don't have the super-duper security identity badge thingy? Cool! What's the magic word?" Furthermore, it will happily tell the presumed-intruder what his choices are! It should be set to accept only one thing: public keys.
In the article it mentioned a challenged response. There was no challenge respond nor a prompt for user2. User2 does have a password of course. BTW, user1 and user2 are my test accounts to test public key authentication.
I'm no expert on ssh server authentication. I just follow what I read online. I don't want to modify the sshd_config file to much and mess things up. Right now it is doing what I want. Hopefully
Last edited by LinuxDunce; 08-30-2013 at 09:10 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.