NeCTAR-RC / tutorials

Nectar Tutorials website
https://tutorials.rc.nectar.org.au
Apache License 2.0
5 stars 8 forks source link

how to remove old known_hosts entry in changing-instances/04-rebuilding #78

Closed hooliowobbits closed 4 years ago

hooliowobbits commented 4 years ago

the tutorial explains that the host key will change after a rebuild, and that the change will produce an error each time you reconnect to that ip, but doesn't say how to fix it. the tutorial should mention that the old entry in known_hosts can be easily removed with ssh-keygen, eg

ssh-keygen -R 192.168.99.99

and then have the user connect again to witness the absence of the error.

https://tutorials.rc.nectar.org.au/changing-instances/04-rebuilding