Last active
August 29, 2015 14:17
-
-
Save songfei1983/8baa2eb3af867ee59b71 to your computer and use it in GitHub Desktop.
新しいホストをknown_hostsに追加 ref: http://qiita.com/songfei1983/items/d2f543697e6eb777323c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -R [hostname] | |
ssh-keygen -R [ip_address] | |
ssh-keygen -R [hostname],[ip_address] | |
ssh-keyscan -H [hostname],[ip_address] >> ~/.ssh/known_hosts | |
ssh-keyscan -H [ip_address] >> ~/.ssh/known_hosts | |
ssh-keyscan -H [hostname] >> ~/.ssh/known_hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment