He suggested 3 approaches
- $ sed -i 3d ~/.ssh/known_hosts
- Use parameters
* StrictHostKeyCheckin
* UserKnownHostsFilessh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no username@hostname
- Config file ~/.ssh/config (or /etc/ssh/ssh_config for global) & restart ssh
Host 192.168.0.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
1 comment:
I used the third one and it worked great. Thank you very much
US VPN
Post a Comment