[Techtalk] passwords

Charlotte Oliver cmoliver at gmail.com
Mon Nov 3 19:12:46 UTC 2008

Hey Wolf --

What you need to do is configure ssh to only accept RSA based 

Here's a guide on it, but there are tons more:


If you Google "RSA keys + SSH", you'll come up with a lot of options.  
Once you have your keys set up, you'll want to edit /etc/ssh/sshd_config 
to turn off PasswordAuthentication.


Wolf Rising wrote:
> I would like to make it so a user can only log in via their ssh keys.
> Would I just change the x in /etc/passwd and the !! in /etc/shadow to an *?
> I can't find the specifics online of how to do this, only that it is
> possible to do so.
> Thanks!
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk

More information about the Techtalk mailing list