Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud.rc: Warning note about changing fingerprints for SSH #36

Closed
wwarriner opened this issue Feb 9, 2022 · 0 comments · Fixed by #48
Closed

cloud.rc: Warning note about changing fingerprints for SSH #36

wwarriner opened this issue Feb 9, 2022 · 0 comments · Fixed by #48
Assignees
Labels
feat: enhancement Enhancement to docs (ui/ux, theming, layout, etc.)

Comments

@wwarriner
Copy link
Contributor

A result that is surprising to first-timers and novices is what happens when using SSH to attempt connection to a reused floating IP.

The fingerprint of the key on the remote will change, and the local ssh will balk at connecting to the remote host. Ideally they'll have strict checking and the ssh won't allow the connection.

The solution is:

  1. Identify the remote hostname (i.e. the floating IP or an associated domain name). The error message will explicitly state this.
  2. Use the command ssh-keygen -R HOSTNAME replacing HOSTNAME with the remote hostname found in step 1.

We should add a note about this, and a DANGER admonition cautioning that the solution needs to be carefully thought through each time it is used. It should ONLY be used in cases where there is absolute trust that it is the correct solution! Otherwise we could end up connecting to a bad actor's machine.

@wwarriner wwarriner added the feat: enhancement Enhancement to docs (ui/ux, theming, layout, etc.) label Feb 9, 2022
@wwarriner wwarriner self-assigned this Feb 9, 2022
wwarriner added a commit to wwarriner/uabrc.github.io that referenced this issue Feb 9, 2022
adds info on reusing floating ips and host change error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: enhancement Enhancement to docs (ui/ux, theming, layout, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant