On Thu, 2006-06-22 at 16:19 +0200, Ingemar Nilsson wrote: > "Dotan Cohen" <dotancohen@xxxxxxxxx> writes: > > > I'll set up SSH now. I do have the wife's winbox with putty here on > > the LAN so I can try that. How do I set up SSH so that root cannot log > > in? I'm not very experienced. > > You edit /etc/ssh/sshd_config and make sure the line > > PermitRootLogin no > > is in the file. It might already be there, but commented out. > You can also go just a bit further and make ssh even more secure with the line AllowUsers user1 user2 userN This not only restricts root (as long as root is not one of the listed users) but also explicitly lists the users who are allowed to connect using ssh. man sshd_config will gave lots of details. > Regards > Ingemar > -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list