Is there a way to avoid ssh printing warning messages like this?
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Although the remote host identity has changed but I know it is fine and just want to get rid of this warning.
ssh0
script/alias/function forssh -o UserKnowHostsFile=/dev/null -o LogLevel=ERROR
and use that expressly instead of dumping those options into~/.ssh/config
. You may forget about them and then wonder why the checks didn't work when you just wanted them to work. – Jan 30 '19 at 20:02