安装服务器后,我希望它在脚本内连接到远程主机并将其主机密钥添加到 ssh,而不要求确认。我可以通过将预期的指纹传递给客户端来做到这一点吗?
ssh unix openssh
openssh ×1
ssh ×1
unix ×1