[Techtalk] passwords

Meryll Larkin alwanza at oz.net
Mon Nov 24 17:02:34 UTC 2008


Hi Wolf Rising,

I'm still not sure what you are trying to accomplish, but if you want to
allow some people to ssh into a server and not others, you might try looking
into an sshd_conf  called "AllowGroups"

You would also have to create a group or groups in /etc/group that would
match the group you are allowing and contain all the members you want.

Meryll

-----Original Message-----
From: techtalk-bounces at linuxchix.org [mailto:techtalk-bounces at linuxchix.org]
On Behalf Of Wolf Rising
Sent: Monday, November 03, 2008 11:30 AM
To: Charlotte Oliver
Cc: techtalk at linuxchix.org
Subject: Re: [Techtalk] passwords

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-385
99.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
>
_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk



More information about the Techtalk mailing list