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.
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
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.
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
> 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
> Techtalk mailing list
> Techtalk at linuxchix.org
Techtalk mailing list
Techtalk at linuxchix.org
More information about the Techtalk