FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-07-2011, 03:51 PM
Jacob Mansfield
 
Default force SSH Key based login

Hey all,
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.

--
regards,
Jacob Mansfield,
Lead developer
jacob@bluesapphiremedia.com

Blue Sapphire Media reccomends
<a href="http://www.a2hosting.com/3244.html">A2 Hosting</a>


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-07-2011, 06:16 PM
Markus Schönhaber
 
Default force SSH Key based login

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@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-07-2011, 06:38 PM
"A. Jorge Garcia"
 
Default force SSH Key based login

"Markus Schönhaber" <ubuntu-users@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@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--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-07-2011, 10:00 PM
Karl Auer
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org