Skip to content

REMOTE HOST IDENTIFICATION warning in SSH #4

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

You must be logged in to vote

The ID of hackerlab container is re-generated when the container is recreated. Add -o UserKnownHostsFile=/dev/null option to your SSH command to fix the issue:

ssh -o UserKnownHostsFile=/dev/null root@127.0.0.1 -p 2222

Replies: 1 comment

Comment options

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