SSH Man in the middle warning

Raspberry Pi projects and help.
Post Reply
User avatar
l6vibq
Site Admin
Posts: 45
Joined: Sun Aug 01, 2021 2:42 am
Contact:

SSH Man in the middle warning

Post by l6vibq »

Problem is, the .ssh/known_hosts gives the:
Man in the middle warning.
This happens because another fingerprint is associated with the remote machine IP.

For all examples below just replace the value after -R with your device:
ssh-keygen -R server-name
ssh-keygen -R server.ip.addre.ss
ssh-keygen -R 192.168.1.25
ssh-keygen -R server1.example.com
You never have to much fuel unless you are on fire!

Return to “Raspberry Pi”