Re: attack 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-05-11 at 08:54 -0700, wj wrote:
> On Tue, 2005-05-10 at 22:44 -0700, Richard Crawford wrote:
> > On Tuesday 10 May 2005 22:23, jim lawrence wrote:
> > > How do you disable root ssh logins ?
> > 
> > In /etc/ssh/ssh_config
> > 
> > Uncomment this line, if it is commented out:
> > 
> > PermitRootLogin yes
> > 
> > and change it to:
> > 
> > PermitRootLogin no
> > 
> > Then restart the ssh daemon:
> > 
> > # /etc/init.d/sshd restart
> > 
> > 
> 
> Hmm ...
> 
> I went to disable mine, I am behind a firewall but I am trying to learn
> how to make my system more secure, and I think that my sshd_config the
> line is already commented out:
> 
> #PermitRootLogin yes
> 

That line commented out is telling you what the default is.
To disable root logins via ssh you need to uncomment the line and change
it to read

PermitRootLogin no


>  

> I just did a fresh install a few days ago and I know I have not changed
> it. Maybe there was a security update that fixed this issue?
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux