I am trying to do passwordless SSH between two server Linux (source) and AIX (destination)
For this i have created public key in Linux server and coped this public key in destination server user profile (in path .ssh/authorized_keys).Also this file is given proper permission.
In /etc/ssh/sshd_config i have uncommented below
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
But when i am trying to to SSH from Linux to AIX i am getting below error
ssh user@AIX-server ls -a
Permission denied, please try again
Permission denied, please try again
Permission denied (publickey,password,keyboard-interactive,hostbased)
some debug logs
debug1: Trying next Authentication method: publickey
debug1: Trying public key
debug2: We did not sent packet, disable method