How to disable ssh direct login

| May 21, 2011 | 0 Comments

First open up the ssh config:

nano /etc/ssh/sshd_config

PermitRootLogin

You will want to set it to either PermitRootLogin no or PermitRootLogin without-password. Once done simply save and restart sshd

service sshd restart

Tags: ,

Category: Linux Administration

Leave a Reply

You must be logged in to post a comment.