mirror of
https://github.com/team-ide/teamide.git
synced 2026-04-27 11:35:49 +03:00
[GH-ISSUE #164] docker部署,SSH连接提示“异常:ssh: no key found” #69
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/teamide-team-ide#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zydxhs on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/team-ide/teamide/issues/164
镜像:teamide/teamide-server:latest
IMAGE ID: 36a20caab098
已添加 PublicKey。
/opt/teamide/log/server.log有如下错误信息:@zydxhs commented on GitHub (Nov 30, 2023):
已添加的数据库连接、SSH连接 莫名丢失 了;
重新登录,再次添加 SSH 后,不添加 PublicKey,可以连接了。
@team-ide commented on GitHub (Dec 4, 2023):
PublicKey一般连接跳板机时候使用 通常直接用 用户名密码即可,数据丢失是什么意思,点击保存后工具箱面板中没有了吗
@selfly commented on GitHub (Dec 12, 2023):
首次使用,上传PublicKey同样遇到 ssh: no key found
这个PublicKey搞的我很疑惑,服务器本身只能使用密钥登录,工具没有使用密钥的地方,以为不支持,只有上传这个PublicKey。
可是登录的时候使用的不应该是私钥吗,目标服务器上的才是公钥啊,尝试上传私钥后终于连接成功。
这个PublicKey有误导性,如果是搭建服务当跳板机使用,这个应该是『公用的私钥』,而不是ssh中的 PublicKey。
@team-ide commented on GitHub (Dec 12, 2023):
不好意思啊 这里 标签名写错了 应该是 PrivateKey(通常跳板机需要的密钥文件),新版本已修复