启动sshd服务失败: read /root/.ssh/id_rsa: is a directory
Chivenh opened this issue · 1 comments
Chivenh commented
1.3.9 版本 参照文档中: 开启SSHD服务 配置
启动报错.
fatal log/logger.go:146 启动sshd服务失败: read /root/.ssh/id_rsa: is a directory
next-terminal/server/log.Fatal
/app/server/log/logger.go:146
next-terminal/server/sshd.sshd.Serve
/app/server/sshd/sshd.go:147
dushixiang commented
1.3.9 版本 参照文档中: 开启SSHD服务 配置 启动报错.
fatal log/logger.go:146 启动sshd服务失败: read /root/.ssh/id_rsa: is a directory next-terminal/server/log.Fatal /app/server/log/logger.go:146 next-terminal/server/sshd.sshd.Serve /app/server/sshd/sshd.go:147
因为你的宿主机没有生成过 ssh 私钥,你可以用 ssh-keygen
来生成一个默认的。