gcloud compute ssh comannd与“只是”ssh命令之间究竟有什么区别?
我做了观察,即便如此,我可以使用gcloud compute ssh轻松连接两个实例,我无法使用ssh命令.但是,手动设置ssh-keys后,ssh命令工作正常.但是gcloud命令不应该处理密钥管理吗?如果使用gcloud进行一次设置,为什么ssh命令无法正常工作
.
工作良好:
gcloud compute ssh instance_2 gcloud compute shh instance_1
.
如果不手动设置ssh-key,则无效:
ssh instance_2 shh instance_1
.
这个问题来自我遇到的另一个问题,这让我疯了几天:OpenMPI: Permission denied error while trying to use mpirun
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。