Skip to content

noisy network

Tag: /.ssh/known_hosts

Clear SSH Key File

A simple way to clear the contents of ssh key file without deleting the file:

echo -n > /home/user/.ssh/known_hosts
Posted on June 8, 2017June 15, 2017Categories BashTags /.ssh/known_hosts, clear ssh key file, known_hosts, ssh key fileLeave a comment on Clear SSH Key File
Proudly powered by WordPress