force SSH Key based login
Karl Auer
kauer at biplane.com.au
Wed Dec 7 23:00:58 UTC 2011
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20111208/214b4c50/attachment.sig>
More information about the ubuntu-users
mailing list