Thread: Securing SSH
View Single Post
  #2 (permalink)  
Old 20-04-2008, 04:24
Rock Rock is offline
System Administrator
 
Join Date: Dec 2006
Posts: 587
Cool

Hey Tom

Here's a small one from me.. supporting/securing your views further...

Securing SSH (Secure Shell)
:

It's a protocol which supports logging into a remote system or executing commands on a remote system, using an encrypted communication between the two systems. Hence securing it; itself is a method of securing the server

By default SSH runs on version 1 and allows direct root access to the system. In order to secure the server steps should be taken to disable direct root access within the sshd_config file and any user should be forced to use only protocol 2. Protocol 2 is more secure than 1.

Here's a simple procedure on getting this done quickly:
Quote:
1) vi /etc/ssh/sshd_config
2) Change Protocol 2,1 to Protocol 2
4) PermitRootLogin yes = no
5) Restart SSHD: /etc/rc.d/init.d/sshd restart
Note: Please make a backup of any files you modify, incase you change anything unexpectedly, restoring the system to the original state becomes easier
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Reply With Quote