News

And that’s all there is to viewing your SSH public and private keys on Linux, macOS, and Windows. Be sure to treat these keys with the care and security they deserve.
ssh-keyscan -H 192.168.1.162 >> ~/.ssh/known_hosts The command will run and add the remote SSH fingerprint to the local machine without your input, as shown below.