attack 2

Richard Crawford rscrawford at mossroot.com
Thu May 12 13:43:50 UTC 2005


On Thursday 12 May 2005 06:30, Charlie McVeigh wrote:
> On Wed, 2005-05-11 at 17:08 -0400, fedora-list-request at redhat.com wrote:
> > 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?
>
> Shouldn't the change be made in sshd_config instead of ssh_config?

Yes, you're right.


-- 
Richard S. Crawford
http://www.mossroot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050512/3d62fc95/attachment-0002.bin 


More information about the users mailing list