fuchengwei / deploy-cli-service

前端自动部署脚手架服务
MIT License
428 stars 87 forks source link

ubuntu 20.04 ssh 连接异常 #31

Closed gogHeroDream closed 3 years ago

gogHeroDream commented 3 years ago

错误内容 第三步 ssh 连接 *** 然后: ✖ AssertionError [ERR_ASSERTION]: config.privateKey does not exist at given fs path error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

私钥文件权限给了777 也还是不行 ~/.ssh/id_rsa

gogHeroDream commented 3 years ago

是否支持 linux 系统呢?

fuchengwei commented 3 years ago

支持linux系统 你的私钥文件地址对吗

gogHeroDream commented 3 years ago

支持linux系统 你的私钥文件地址对吗

私钥地址对呀。~/.ssh/id_rsa 这个 ,能打开看到。

gogHeroDream commented 3 years ago

支持linux系统 你的私钥文件地址对吗 好吧 换成 全路径就好了 ~ 不行。