On Tue, Jan 5, 2010 at 9:16 AM, Max Hetrick wrote:
> Susan Day wrote:
> > Hi;
> > How do I make it so that it's impossible to SSH into the server directly
> > as root? That is, make it necessary to SSH in as an ordinary user and
> > then su to root?
> > TIA,
> > Suzie
>
> # vim /etc/ssh/sshd_conf
From: Susan Day
>How do I make it so that it's impossible to SSH into the server directly as
>root? That is, make it necessary to SSH in as an ordinary user and then su to
>root?
Google says:
/etc/ssh/sshd_config:
PermitRootLogin no
JD
__
Hi,
> How do I make it so that it's impossible to SSH into the server directly
> as root?
man ssh_config ->
PermitRootLogin
Specifies whether root can login using ssh(1). The argument
must be "yes", "without-password", "forced-commands-only" or
"no". The default is "yes".
If thi
On Tue, January 5, 2010 8:11 am, Susan Day wrote:
> Hi;
> How do I make it so that it's impossible to SSH into the server directly
> as
> root? That is, make it necessary to SSH in as an ordinary user and then su
> to root?
> TIA,
> Suzie
> ___
You can ad
Susan Day wrote:
> Hi;
> How do I make it so that it's impossible to SSH into the server directly
> as root? That is, make it necessary to SSH in as an ordinary user and
> then su to root?
> TIA,
> Suzie
# vim /etc/ssh/sshd_config
Uncomment the following line:
#PermitRootLogin yes
PermitRootLo
You can edit sshd_config, find PermitRootLogin yes and replace yes to no. Like
this:
PermitRootLogin no
This is disallow root for directly login from ssh.
-DS-
-Original Message-
From: Susan Day
Date: Tue, 5 Jan 2010 09:11:17
To: CentOS mailing list
Subject: [CentOS] Signing In
Hi;
How do I make it so that it's impossible to SSH into the server directly as
root? That is, make it necessary to SSH in as an ordinary user and then su
to root?
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listin
7 matches
Mail list logo