force SSH Key based login

A. Jorge Garcia calcpage at aol.com
Wed Dec 7 19:38:46 UTC 2011


"Markus Schönhaber" <ubuntu-users at list-post.mks-mail.de> wrote:

07.12.2011 17:51, Jacob Mansfield:

> is it possible to disable password-based login for a specific user account?
> I need to let them use SSH-Key based login only, yet allow one other user to stick with the password-based authentication.
> thanks.

Try something like

Match User <username>
	PasswordAuthentication no

in sshd_config.

-- 
Regards
mks


-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Try public-key authenticated ssh.
Thanx,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
Sent via DROID on Verizon Wireless
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111207/6620e9b3/attachment.html>


More information about the ubuntu-users mailing list