I have been trying to setup host based auth between 2 of my servers and facing some issues.
My setup is:
EnableSSHKeySign yes HostbasedAuthentication yes
HostbasedAuthentication yes IgnoreRhosts no
Created a file
/etc/ssh/shosts.equivwith client IP and username
/etc/ssh/ssh_known_hostswith the host name IP address comma separated and public keys of client.
When I try to connect I get the error:
debug3: authmethod_lookup hostbased debug3: remaining preferred: debug1: No more authentication methods to try. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,hostbased).
Any hints how to proceed further?