Linux man page on ssh say about host based authentication works as
SSH server must be able to verify the client's host key (see the description of /etc/ssh/ssh_known_hosts and ~/.ssh/known_hosts, below) for login to be permitted. Which I understand
~/.ssh/known_hosts contain host keys of SSH server accessed by client.
As such in Key-based authentication where identity private keys are read from
~/.ssh/id_dsa, how can I force to look for keys in different location in host based authentication with only key
In key based auth. we can point to a different location using
ssh -i /new/path/to/id_rsa <server IP>, and would like to know how it is feasible with host based auth.
Thanks in advance!