I find the ~/.ssh/known_hosts
file a bit hard to read.
It'd help if I could add comments to it so I thought I should ask if that's possible.
I find the ~/.ssh/known_hosts
file a bit hard to read.
It'd help if I could add comments to it so I thought I should ask if that's possible.
Yes. As the manual page for
sshd
notes:This means that you can create comments in two ways:
The whole first line is comment and the
closenet.example.net
is also commentnot sure if this solves the problem, but you can alias the IP in your .ssh/config file with something like this