Friday, 10 August 2012

SSH server Password less configuration




1.       #rpm  -ivh openssh-server
2.      Will install openssh-server-5.3p1-20.el6.x86_64
3.      #rpm –ivh xinetd
4.      Will install xinetd-2.3.14-29.el6.x86_64.rpm
5.      #Setup –select system services
6.      Select the below service to run
7.      Sshd & Xinetd
8.      #Service sshd restart
9.      Chkconfig sshd on
10.  #Service xinetd restart
11.  Chkconfig xinetd on
12.  Service sshd status – status should be running on
13.  Service xinetd status – status should be running on
14.   Now connect using the below command
15.  ssh serverip


                                                SSH PASSWORD LESS
Server = 192.168.0.4
In Client
 
In Server

In Client
 
Adding clients public keys to the server authorized_keys2 file using Linux command:



No comments:

Post a Comment