git clone ssh://arvin.chen@shaitgrt01:29418/mcu/s32k && scp -p -P 29418 arvin.chen@shaitgrt01:hooks/commit-msg s32k/.git/hooks/
Cloning into 's32k'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 RSA key sent by the remote host is
SHA256:0FY1pApiebg454cyGLHVNvQqbrvliDlswso2HvY8lx4.
Please contact your system administrator.
Add correct host key in /c/Users/arvin.chen/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /c/Users/arvin.chen/.ssh/known_hosts:2
Host key for [shaitgrt01]:29418 has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
删除.ssh目录下的known_hosts文件就OK了