Re: Question on blocking remote root access via SSH
From: Alan Walker (firstname.lastname@example.org)
- Next message: Darren Tucker: "Re: AIX, rsh, rlogin = false, openssh"
- Previous message: Alan Walker: "Re: Background tunnel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alan Walker" <email@example.com> Date: Fri, 13 Dec 2002 20:04:31 -0500
You don't need to permit root login in sshd to gain root access. The safest
method to my attention is to utlize the su - command to shell as user root
at once logged in as any old non-privledged user.
"Nico Kadel-Garcia" <firstname.lastname@example.org> wrote in message
> "John Yang" <email@example.com> wrote in message
> > Hi,
> > I have set up SSH service on my remote linux server. I have discovered
> > that unlike telnet, which I could block remote root access, SSH allows
> > root to login remotely.
> > Does anyone know how to turn off remote root access for SSH on Linux?
> > Many thanks.
> > John
> Type "man sshd" and then change "PermitRootLogin" in your sshd_config
> Of course, many of use *WANT* root access so that we can remotely salvage
> system whose user partition has gone toes up....