Passwordless authentication - using ssh-keygen -t rsa
Hi all,
the user "job002" from server2 trying to connect to the server1, using ssh passwordless authentication.
I have created the ssh key in server1 and saved the encrypted password as authorized_keys in server2. But still while using the command "ssh server1" server1 expecting the password.
RSAAuthentication yes is available in server1 /etc/ssh/sshd_config
SERVER1:
=========
root@server1# ls -ld /export/home/job002/.ssh
drwx------ 2 job002 bsp 4096 Apr 18 03:16 /export/home/job002/.ssh
root@server1# ls -ltr
total 16
-rw------- 1 job002 bsp 887 Apr 18 02:45 id_rsa
-rw-r--r-- 1 job002 bsp 225 Apr 18 02:45 id_rsa.pub
root@server1 # cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzb8pUcwkVZ3WMlZ9bkwKGoHSLSPeX4vicWGCPtmJBeE8rD21qHttXpDEvPPyShRpySLXQZcPma/+MYT0ZjZ6XxY2N7O62cFBjT1Myx+V/i93UxfXWwkTvNlAllGcLkuRYB8Whgt0NkfuERzkORj9O6h9ow/xrK7H+NqF97Y7QpU= job002@server1
0