[Techtalk] passwords

Wolf Rising wolfrising at gmail.com
Mon Nov 3 19:30:03 UTC 2008


Hi Charlotte,

Thank you for the assistance :-)

I only want to have specific users log via ssh keys only,
if I edit /etc/ssh/sshd_config will that make it for all users?

I should have been more clear about that part, sorry.

Thanks :-)


On Mon, Nov 3, 2008 at 2:12 PM, Charlotte Oliver <cmoliver at gmail.com> wrote:

> Hey Wolf --
>
> What you need to do is configure ssh to only accept RSA based
> authentication.
>
> Here's a guide on it, but there are tons more:
>
>
> http://news.softpedia.com/news/How-to-Use-RSA-Key-for-SSH-Authentication-38599.shtml
>
> 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.
>
> HTH!
> Charlotte
>
> 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
> >
>
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>


More information about the Techtalk mailing list