Skip to content

Warning: Remote host identification has changed #45

Answered by gtdang
gtdang asked this question in Q&A
Discussion options

You must be logged in to vote

This can occur when the login node hosts change. The solution is to remove the offending key to the former node.

Solution 1 - Removing the key from your known hosts manually.

$ vi ~/.ssh/known_hosts
# Remove the offending line (no: 4 in this example).
# Save and Exit, and Retry.

Solution 2 - Use ssh-keygen to remove all keys belonging to hostname from a known_hosts file.

ssh-keygen -R "ssh.ccv.brown.edu"

Replies: 1 comment

Comment options

gtdang
Apr 13, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by gtdang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
connectivity Connection to OSCAR
1 participant