Group: comp.os.linux.networking
From: Jurgen Haan
Date: Wednesday, April 09, 2008 4:52 AM
Subject: Re: How to PREVENT a user from logging in through SSH

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

Safety Articles | Usenet Groups | Usenet News | Bluegrass