Re: [CentOS] Signing In Other than Root

2010-01-06 Thread Susan Day
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

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread John Doe
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 __

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread Christoph Neuhaus
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

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread Bo Lynch
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

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread Max Hetrick
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

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread david
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

[CentOS] Signing In Other than Root

2010-01-05 Thread Susan Day
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