Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ssh commands

SSH commands

Find out own SSH fingerprint:

ssh-keygen -lf /etc/ssh/

Add own public key to remote server for later verification:

ssh-copy-id -i ~/.ssh/
# then type in password

fix Failed to add the host to the list of known hosts (/home/me/.ssh/known_hosts).

chmod 600 /home/me/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.