CentOS 5: SSH server config

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
PermitRootLogin no
// line 39: remove ‘#’ and change ‘no’

PermitEmptyPasswords no
// line 59: remove ‘#’

PasswordAuthentication yes

[root@ns ~]#  /etc/rc.d/init.d/sshd restart

Get an apprication which you can login from Windows clients. I show an example with using Putty on this site like below.

Input your server’s IP address and Click ‘Open’ button. ( Following example shows IP address 192.168.0.17, but this is the one in my environment, so please input IP address which you set on your own environment.

putty

GD Star Rating
loading...
GD Star Rating
loading...

Related Articles

Random Articles

Post a Comment