t;
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jay Turner
> Sent: Friday, March 21, 2003 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: disabling root access from ssh login
>
>
> On Fri, Mar 21, 2003 at 10:44:39AM -080
On Fri, 2003-03-21 at 13:44, Bruce Douglas wrote:
> vi to /etc/ssh/ssh_config and added the line:
>
> PermitRootLogin no
>
> i then restarted with
> /etc/rc.d/init.d/sshd restart
This works for me. I just had to change that yesterday. Also, FWIW,
you can do -
# service sshd restart
isabling root access from ssh login
On Fri, Mar 21, 2003 at 10:44:39AM -0800, Bruce Douglas wrote:
> i tried the following with no luck:
>
> vi to /etc/ssh/ssh_config and added the line:
>
> PermitRootLogin no
>
> i then restarted with
> /etc/rc.d/init.d/sshd restart
>
&g
On Fri, Mar 21, 2003 at 10:44:39AM -0800, Bruce Douglas wrote:
> i tried the following with no luck:
>
> vi to /etc/ssh/ssh_config and added the line:
>
> PermitRootLogin no
>
> i then restarted with
> /etc/rc.d/init.d/sshd restart
>
> i can still login as root...
Right change, wrong file. Yo
maybe you change wrong file ...
try change /etc/ssh/sshd_config
i put this configuration (PermitRootLogin no) and works fine...
see ya!!
Bruce Douglas wrote:
new to linux. i want to disable direct root login/access to my linux (rh8.0)
box. i want to have the user have to login as user foo, and th
Simple oversight...
The file should have been /etc/ssh/sshd_config
Not ssh_config that one is for ssh client...
Rick
-Original Message-
From: Bruce Douglas [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject:disabling root acces