[olug] Newbie Question
olug at wjjeep.com
Tue Jan 17 06:25:03 UTC 2006
On Mon, Jan 16, 2006 at 10:01:58PM -0800, Eric Lusk wrote:
> Well, since I'm running Mandriva, which has a utility
> to disable root remote login, I don't remember what
> you have to do anymore...
> But if I remember correctly it's an option in any
> version of Linux.
> --- Jake Churchill <jachurchill at cox.net> wrote:
> > [SNIP]
> > My own question: how do you make sure remote root
> > login is disabled?
I edit my /etc/ssh/ssh_config by placing a line in there:
This will restrict ssh login to only the specified user/groups. Read more online regarding the AllowUsers directive.
I also run ssh on a non-standard port as far as external access goes. I use my iptables firewall to redirect traffic appropriately.
More information about the OLUG