SSH
Remove an Entry from known_hosts
# shell
ssh-keygen -R example.com
Will remove the entry for example.com
from ~/.ssh/known_hosts
.
Copy Public key to Server as Authorized Key
# shell
ssh-copy-id example.com
A personal knowledge base
# shell
ssh-keygen -R example.com
Will remove the entry for example.com
from ~/.ssh/known_hosts
.
# shell
ssh-copy-id example.com