跳过SSH首次远程登录的yes确认

修改/etc/ssh/ssh_config
vim /etc/ssh/ssh_config
# StrictHostKeyChecking ask
改为StrictHostKeyChecking no
即可

你可能感兴趣的:(跳过SSH首次远程登录的yes确认)