It sure works (-:

Ryan, Jason and Garl  -- thanks for instant response.

Ja, it's odd: the installation came with
#PermitRootLogin yes
which made me think the default is no.
 So there is no difference if you comment, or un-comment the Red Hat
provided settings, hhm - whatever...
I also saw other interesting stuff in /etc/ssh/sshd_config  (-:

 - Horst

In reply to:

> Date: Sun, 01 Feb 2004 22:20:37 -0800
> From: Garl Grigsby <[EMAIL PROTECTED]>
> Reply-To: The Eugene Unix and GNU/Linux User Group's mail list
>     <[EMAIL PROTECTED]>
> To: The Eugene Unix and GNU/Linux User Group's mail list <[EMAIL PROTECTED]>
> Subject: Re: [eug-lug]disable remote login for root?
>
> In
>     /etc/ssh/sshd_config
>
> Change
>     PermitRootLogin yes
>
> To
>     PermitRootLogin no
>
> Garl
>
>
>
> horst wrote:
>
> >How do I disable remote login (ssh) for root, and only allow 'su' or
> >console login.
> >
> >It's a Red Hat box:
> >[EMAIL PROTECTED] mail]# cat /proc/version
> >Linux version 2.4.20-8 ([EMAIL PROTECTED]) (gcc version
> >3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 16:42:56 EST 2003
> >[EMAIL PROTECTED] mail]#
> >
> >Thanks ......................... Horst
> >_______________________________________________
> >EuG-LUG mailing list
> >[EMAIL PROTECTED]
> >http://mailman.efn.org/cgi-bin/listinfo/eug-lug
> >
> >
> >
>
>
> _______________________________________________
> EuG-LUG mailing list
> [EMAIL PROTECTED]
> http://mailman.efn.org/cgi-bin/listinfo/eug-lug
>
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to