Thread: ssh root
View Single Post
  #4   (View Single Post)  
Old 7th April 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default

sudo use and edit the file /etc/ssh/sshd_conf

Code:
PermitRootLogin yes
Code:
change the word yes with no
Code:
PermitRootLogin no
For the changes to take effect

Code:
kill -HUP `cat /var/run/sshd.pid`

apparently its not working

Last edited by Nk2Network; 7th April 2009 at 11:45 AM.
Reply With Quote