SOURCECODEBD.NET

Live Experience

SSH Server in CentOS
 
Before configuration, it's neccessary to set config on router that tcp packets to port 22 of the server can pass through.

[1] Configure SSH server for Windows clietnts' computer to be able to login from them. This is the way with Password Authentication.  
 
[root@ns ~]# vi /etc/ssh/sshd_config

#MaxAuthTries 6
# line 39: uncomment and change 'no'

PermitRootLogin no

# line 59: uncomment
PermitEmptyPasswords no
PasswordAuthentication yes

[root@ns ~]# /etc/rc.d/init.d/sshd restart
 
 
[2] Get an apprication which you can login from Windows clients. You can use Putty software. Just put the desire IP Address select the SSH option and click the Load button.

You are here: Home / CentOS / SSH Server Configuration in CentOS