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.

Comments

Popular posts from this blog

CDbConnection failed to open the DB connection mysql 8

How to replace find -maxdepth option in Solaris Operating System using -prone

IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified [ISQL]ERROR: Could not SQLConnect