5

securing SSH and disabling direct root

view full story
linux-howto

http://unix.stackexchange.com – In these instructions below what appears on my terminal is different so not sure what I should change. After port 22 mine says #AddressFamily any and further down for protocol it has longer line saying #activation of protocol 1 then on line below uncommented Protocol 2. Also if you disable direct root login do you use sudo instead with same password you created for root? Scroll down to the section of the file that looks like this: #Port 22 #Protocol 2, 1 #ListenAddress 0.0.0.0 #ListenAddress :: Uncomment and change #Port 22 to look like Port 5678 (choose your own 4 to 5 digit port numb (HowTos)