每次换服务器之后,ssh登录总是提示
Offending key for IP in /root/.ssh/known_hosts:28
每次都要通过sed命令进行删除
# sed -i '28d' /root/.ssh/known_hosts
有没有办法永久消除?不出这个提示
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
在
~/.ssh/config
配置文件中添加CheckHostIP no