Host key verification failed in openssh

view full story

http://www.unix.com – Experts, We are trying to make a key-based authentication from Server A to Server B. Server A is installed with openshh. Server B runs "Sun_SSH_1.1". Server A's rsa2 public key has been added into the server B's authorized_keys. We are sure that permission settings of the files and folders in server A and Server B are correct. But when we try to establish SFTP connection from Server B to Server A, we are getting the below error (snippet from -vvv mode logs) debug3: check_host_in_hostfile: filename /home/serverb.ssh/known_hosts debug3: check_host_in_hostfile: filename /etc/ssh/ssh_k (HowTos)