Vim Tips
$ d$ - will delete from your cursor to the end of the line
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:+lqGiMAmByST3y6wER8uv5INGlIagx2pOVIMdAPc6LSRKI. Please contact your system administrator. Add correct host key in /home/jole/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/jole/.ssh/known_hosts:466 ECDSA host key for secret.masteringvim.com has changed and you have requested strict checking. Host key verification failed
$ vim ~/.ssh/known_hostnames + 466
-------> wil take you to line 466
$ vim ~/.ssh/known_hostnames + "466|x
" -----> will take you to line 466 and then delete to the end of that line
Last updated
Was this helpful?