[GH-ISSUE #1678] ubuntu上运行报错 Failed to fetch #984

Closed
opened 2026-02-27 00:01:47 +03:00 by kerem · 5 comments
Owner

Originally created by @lbmzorx on GitHub (May 10, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1678

Electerm version:

v1.3.21

Operating system(linux, macos, or windows7/8/10?):

ubuntu 20.04LTS

Expected Behavior

进入electerm 时候是正常的
配置了标签后测试 显示 失败
error
Failed to fetch

连接后 本地的命令行也不可用
2020-05-10 21-29-18 的屏幕截图

错误信息

Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR at signOneShot (internal/crypto/sig.js:124:10) at OpenSSH_Private.sign (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/keyParser.js:424:16) at /opt/electerm/resources/app.asar/node_modules/@electerm/ssh2/lib/client.js:576:36 at SSH2Stream.authPK (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:1646:3) at SSH2Stream.onUSERAUTH_PK_OK (/opt/electerm/resources/app.asar/node_modules/@electerm/ssh2/lib/client.js:575:14) at Object.onceWrapper (events.js:299:28) at SSH2Stream.emit (events.js:210:5) at parse_USERAUTH (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:4078:12) at parsePacket (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:3772:12) at SSH2Stream._transform (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:701:13) at SSH2Stream.Transform._read (_stream_transform.js:189:10) at SSH2Stream._read (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:253:15) at SSH2Stream.Transform._write (_stream_transform.js:177:12) at doWrite (_stream_writable.js:431:12) at writeOrBuffer (_stream_writable.js:415:5) at SSH2Stream.Writable.write (_stream_writable.js:305:11)

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @lbmzorx on GitHub (May 10, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1678 <!--- Provide some basic info --> ## Electerm version: v1.3.21 ## Operating system(linux, macos, or windows7/8/10?): ubuntu 20.04LTS ## Expected Behavior <!--- Tell me what should happen --> 进入electerm 时候是正常的 配置了标签后测试 显示 失败 error Failed to fetch 连接后 本地的命令行也不可用 ![2020-05-10 21-29-18 的屏幕截图](https://user-images.githubusercontent.com/26056895/81500543-65c8cf00-9305-11ea-8d92-234ab8d023bb.png) 错误信息 Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR at signOneShot (internal/crypto/sig.js:124:10) at OpenSSH_Private.sign (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/keyParser.js:424:16) at /opt/electerm/resources/app.asar/node_modules/@electerm/ssh2/lib/client.js:576:36 at SSH2Stream.authPK (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:1646:3) at SSH2Stream.onUSERAUTH_PK_OK (/opt/electerm/resources/app.asar/node_modules/@electerm/ssh2/lib/client.js:575:14) at Object.onceWrapper (events.js:299:28) at SSH2Stream.emit (events.js:210:5) at parse_USERAUTH (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:4078:12) at parsePacket (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:3772:12) at SSH2Stream._transform (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:701:13) at SSH2Stream.Transform._read (_stream_transform.js:189:10) at SSH2Stream._read (/opt/electerm/resources/app.asar/node_modules/ssh2-streams/lib/ssh.js:253:15) at SSH2Stream.Transform._write (_stream_transform.js:177:12) at doWrite (_stream_writable.js:431:12) at writeOrBuffer (_stream_writable.js:415:5) at SSH2Stream.Writable.write (_stream_writable.js:305:11) ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-27 00:01:47 +03:00
Author
Owner

@zxdong262 commented on GitHub (May 10, 2020):

z这个报错把后台进程弄崩溃了,用户名加private key?

<!-- gh-comment-id:626343753 --> @zxdong262 commented on GitHub (May 10, 2020): z这个报错把后台进程弄崩溃了,用户名加private key?
Author
Owner

@lbmzorx commented on GitHub (May 11, 2020):

用private key 和直接输密码都不行

<!-- gh-comment-id:626636776 --> @lbmzorx commented on GitHub (May 11, 2020): 用private key 和直接输密码都不行
Author
Owner

@zxdong262 commented on GitHub (May 11, 2020):

@lbmzorx 你是用snap安装的还是下载的dep然后sudo dpkg -i electerm.xxx.dep

<!-- gh-comment-id:626648930 --> @zxdong262 commented on GitHub (May 11, 2020): @lbmzorx 你是用snap安装的还是下载的dep然后`sudo dpkg -i electerm.xxx.dep`
Author
Owner

@lbmzorx commented on GitHub (May 11, 2020):

直接在这里下载,然后安装的,没有经过应用商定,安装时候没有报错

<!-- gh-comment-id:626661143 --> @lbmzorx commented on GitHub (May 11, 2020): 直接在这里下载,然后安装的,没有经过应用商定,安装时候没有报错
Author
Owner

@zxdong262 commented on GitHub (Nov 25, 2020):

最新版应该没问题了

<!-- gh-comment-id:733389386 --> @zxdong262 commented on GitHub (Nov 25, 2020): 最新版应该没问题了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#984
No description provided.