Group: comp.os.linux.networking
From: Ignoramus22864
Date: Wednesday, April 09, 2008 7:48 AM
Subject: Re: How to PREVENT a user from logging in through SSH

On 2008-04-09, Jurgen Haan wrote:
> Ignoramus10392 wrote:
>> Given prevalence of SSH dictionary attacks, I want to fortify my
>> systems a little.
>>
>> I have several local (inside the house) users who I do NOT want to be
>> able to log on from outside via ssh.
>>
>> I would like to disable any remote SSH logins for these users.
>>
>> How can I do that?
>>
>> thanks
>
> Give them a non-usable shell.
> /bin/false or /bin/nologin

Um, these users NEED to log in, just not from SSH. They need to log in
from GDM.

i

Safety Articles | Usenet Groups | Usenet News | Bluegrass