3. Now restart sshd daemon
[root@kalwa1 ~]# service sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ]
4. Now if you tried to login to secure server other than root system responds with “Access denied” message:
Pages: 1 2
Platform for learning UNIX & LINUX technologies
Performing linux check disk space operation makes us aware about the current utilization of the mount point within system. Here...
Lars says
Never ever allow root login … that’s the reason why you should set
PermitRootLogin No
Create a unpriviliged user and set
AllowUser to this unpriviliged account!
Cheers,
Lars
Mark Partlett says
…and make sure you comment out his line “PermitRootLogin no” or set to “PermitRootLogin yes” 🙂
sick says
don’t allow root login, enable public key auth, disable password login, as long as you keep the private key private, you’re most likely secure