The officially official Devuan Forum!

You are not logged in.

#1 2023-09-08 11:16:39

From: Ortenau
Registered: 2021-04-25
Posts: 101  

ssh ipv6 offending host key and internet provider

My internet service provider gives me a new ipv6 range /56 about every 8 weeks.
Then I stumble over this

ssh user@some other host
Warning: the ECDSA host key for ' some other host' differs from the key for the IP address '1111:2222:3333:4444:5555:6666:7777:8888'

Offending key for IP in /home/xx/.ssh/known_hosts:8
Matching host key in /home/xx/.ssh/known_hosts:11
Are you sure you want to continue connecting (yes/no)?

I do not want keys based on IPv6 . Each host in my intranet has a proper name chez moi.
That should be the identification for the keys
How can I suppress this seemingly automatic host key generation from varying references?

The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design : … bug=958390


Board footer