ssh.dietpi.com key remains in /root/.ssh/known_hosts Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
anarchoN3rd
Posts: 2
Joined: Mon Nov 15, 2021 4:27 pm

ssh.dietpi.com key remains in /root/.ssh/known_hosts

Post by anarchoN3rd »

Disclaimer: I am less than a year into using Linux, have even less hours on my Pi, and just installed dietpi for the first time last weekend; so the following may be way off base.

Hello,

As the title says, I still have the public key for ssh.dietpi.com in my known_hosts file. I am assuming this is the port used for sending survey information? When I declined the survey, I assumed that would have been deleted. Just curious if this was a malfunction or intentional (though I'm sure not malicious).
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: ssh.dietpi.com key remains in /root/.ssh/known_hosts

Post by Joulinar »

This is as intended. Disabling the survey will not delete the host key.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
anarchoN3rd
Posts: 2
Joined: Mon Nov 15, 2021 4:27 pm

Re: ssh.dietpi.com key remains in /root/.ssh/known_hosts

Post by anarchoN3rd »

Will there be any adverse effects to deleting the key?
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: ssh.dietpi.com key remains in /root/.ssh/known_hosts

Post by Joulinar »

yes, you will get an error message after each software installation because the system will try to update an empty file (no data transferred)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply