Skip to content

Instantly share code, notes, and snippets.

@luckydrq
Last active August 29, 2015 14:03
Show Gist options
  • Save luckydrq/4d81c493041b32f09714 to your computer and use it in GitHub Desktop.
Save luckydrq/4d81c493041b32f09714 to your computer and use it in GitHub Desktop.
update git server know-hosts when host ip change
ssh-keygen -f ~/.ssh/known_hosts -R gitlab.xxx.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment