九游平台/ ai开发平台modelarts/ 常见问题/ standard notebook/ 在modelarts的notebook中实例重新启动后要怎么连接?
更新时间:2025-01-22 gmt 08:00

在modelarts的notebook中实例重新启动后要怎么连接?-九游平台

可以在本地的ssh config文件中对这个notebook配置参数“stricthostkeychecking no”和“userknownhostsfile=/dev/null”,如下参考所示:

host roma-local-cpu
    hostname x.x.x.x #ip地址
    port 22522
    user ma-user
    identityfile c:/users/my.pem
    stricthostkeychecking no
    forwardagent yes

提示:因为ssh登录时会忽略known_hosts文件,有安全风险

相关文档

网站地图