How to Disable known_hosts in ssh
I've been working on building custom live linux systems for a while now. The problem is, everytime I reboot the live linux machine and I ssh/scp to it, I get this message:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is 64:af:03:87:17:e4:23:51:a5:1c:12:e4:47:90:70:b0. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:1 RSA host key for 192.168.1.179 has changed and you have requested strict checking. Host key verification failed.
Normally, I'll just remove the offending line from the know_hosts file and get ony with my life, but after repetitive rebooting and repetitive RSA host warnings, it's starting to annoy me.
To disable rsa host checking, add a config file to your local .ssh folder,
vim ~/.ssh/config
and add the following options:
# automatically adds rsa host key to list of known hosts
StrictHostKeyChecking no
# sets know_hosts file to the data sink so it will never be written
UserKnownHostsFile /dev/null
I Miss the Old Days
I just completed updating my very outdated resume and I just realized I missed a lot of things I did before. Specifically, I miss the feeling of creating apps that other people actually use. I just checked up on my old projects and find that they are still alive!
With AJWCC:
http://ruby.inquirer.net/adv/mobilenews
I put a lot of work into this app to make it uber flexible and uber scalable. It's actually a mobile news service with unlimited keywords and categories.
DNS Global Load Balancing
http://www.eradioportal.com
And now as a web mirroring service:
http://www.bnshosting.net/?p=196
Nice feelings.