How to check whether a hostname is present in /root/.ssh/known_hosts file...
To check whether a particular hostname or servername is present in the known_hosts file, use the following command.
#ssh-keygen -H -F hostname
thats it.
#ssh-keygen -H -F hostname
thats it.
Comments
Post a Comment