force SSH Key based login
On Wed, 2011-12-07 at 14:38 -0500, A. Jorge Garcia wrote:
> > 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.
> Try something like
>
> Match User <username>
> PasswordAuthentication no
>
> in sshd_config.
Or zot their password so they *can't* use it, after setting up the
publickey login.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/kauer/ +61-428-957160 (mob)
GPG fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
Old fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|