ssh scp等消除每次问yes/no,取消Are you sure you want to continue connecting (yes/no)? 提示
vi /etc/ssh/ssh_config(全局)
或者
~/.ssh/config(某用户)
开头加入以下内容:
StrictHostKeyChecking no
然后重启ssh
service sshd reload
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
vi /etc/ssh/ssh_config(全局)
或者
~/.ssh/config(某用户)
开头加入以下内容:
StrictHostKeyChecking no
然后重启ssh
service sshd reload
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭