you don't want the line to be commented... you want to have the line PermitRootLogin no <<<<<<<<<<<<<<<<<<<<<<<<<<<<< no comments... this tells the ssh daemon to never allow the root user to login via ssh... -regards -----Original Message----- From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of wj Sent: Wednesday, May 11, 2005 8:55 AM To: fedora-list@xxxxxxxxxx Subject: Re: attack 2 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 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? -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list