[GH-ISSUE #2848] 配置全局socket5代理,ssh链接可以正常建立使用,sftp链接建立软件报错 #1867

Closed
opened 2026-02-27 00:05:08 +03:00 by kerem · 3 comments
Owner

Originally created by @AnubisCL on GitHub (Jun 12, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/2848

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.25.50-mac-arm64.dmg

Platform detail (平台详情)

mac os(ARM)

What steps will reproduce the bug?(重新问题的详细步骤)

配置全局socket5代理,ssh链接可以正常建立使用,sftp链接建立软件报错:
Received signal SIGSEGV while establishing SFTP session
Error: Received signal SIGSEGV while establishing SFTP session at http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1598971 at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1555751) at Worker. (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1556680)
开发者模式 报错:
14:26:36 error › Error: Received signal SIGSEGV while establishing SFTP session
at electerm.js?1.25.50:2:1598971
at Object.resolve (electerm.js?1.25.50:2:1555751)
at Worker. (electerm.js?1.25.50:2:1556680)
开发者模式 警告:
electerm.js?1.25.50:2 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 event listeners added. Use emitter.setMaxListeners() to increase limit
at c (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:376554)
at o.addListener (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:379138)
at new wt (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1545654)
at Ct.addChild (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1545797)
at n (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546152)
at Et (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546580)
at n (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546137)
at Et (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546580)
at bl.render (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1547028)
at Qt (http://127.0.0.1:30974/external/react-dom.production.min.js?1.25.50:2:53263)

What should have happened?(期望的结果)

none

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @AnubisCL on GitHub (Jun 12, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/2848 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.25.50-mac-arm64.dmg ### Platform detail (平台详情) mac os(ARM) ### What steps will reproduce the bug?(重新问题的详细步骤) 配置全局socket5代理,ssh链接可以正常建立使用,sftp链接建立软件报错: Received signal SIGSEGV while establishing SFTP session Error: Received signal SIGSEGV while establishing SFTP session at http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1598971 at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1555751) at Worker.<anonymous> (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1556680) 开发者模式 报错: 14:26:36 error › Error: Received signal SIGSEGV while establishing SFTP session at electerm.js?1.25.50:2:1598971 at Object.resolve (electerm.js?1.25.50:2:1555751) at Worker.<anonymous> (electerm.js?1.25.50:2:1556680) 开发者模式 警告: electerm.js?1.25.50:2 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 event listeners added. Use emitter.setMaxListeners() to increase limit at c (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:376554) at o.addListener (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:379138) at new wt (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1545654) at Ct.addChild (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1545797) at n (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546152) at Et (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546580) at n (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546137) at Et (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1546580) at bl.render (http://127.0.0.1:30974/js/electerm.js?1.25.50:2:1547028) at Qt (http://127.0.0.1:30974/external/react-dom.production.min.js?1.25.50:2:53263) ### What should have happened?(期望的结果) none ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem 2026-02-27 00:05:08 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jun 13, 2023):

是不是服务器不支持sftp,可以确认一下吗

<!-- gh-comment-id:1589229684 --> @zxdong262 commented on GitHub (Jun 13, 2023): 是不是服务器不支持sftp,可以确认一下吗
Author
Owner

@AnubisCL commented on GitHub (Jun 14, 2023):

用其他ssh和sftp工具,例如xshell,SecureCRT,winscp,MobaXterm等是可以正常建立链接的,和socket5代理好像没有关系,不走socket5代理也不能使用sftp,我在win10(X64)上试了一下。
登录到不能建立连接的服务器上查看vsftpd服务是开启的:
ps -ef|grep sftp
root 1279 1 0 2022 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
rcs 347259 347159 0 10:15 pts/0 00:00:00 grep --color=auto sftp
可以建立连接的服务器上启动的是:
ps -ef|grep sftp
root 13157 13134 0 09:53 ? 00:00:00 /usr/libexec/openssh/sftp-server
root 14964 14935 0 10:20 pts/1 00:00:00 grep --color=auto sftp
是不支持vsftpd吗?

<!-- gh-comment-id:1590320883 --> @AnubisCL commented on GitHub (Jun 14, 2023): 用其他ssh和sftp工具,例如xshell,SecureCRT,winscp,MobaXterm等是可以正常建立链接的,和socket5代理好像没有关系,不走socket5代理也不能使用sftp,我在win10(X64)上试了一下。 登录到不能建立连接的服务器上查看vsftpd服务是开启的: ps -ef|grep sftp root 1279 1 0 2022 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf rcs 347259 347159 0 10:15 pts/0 00:00:00 grep --color=auto sftp 可以建立连接的服务器上启动的是: ps -ef|grep sftp root 13157 13134 0 09:53 ? 00:00:00 /usr/libexec/openssh/sftp-server root 14964 14935 0 10:20 pts/1 00:00:00 grep --color=auto sftp 是不支持vsftpd吗? >
Author
Owner

@zxdong262 commented on GitHub (Jun 14, 2023):

应该是这个原因,基于ssh2开发的,ssh2应该只是支持标准ssh和sftp协议

<!-- gh-comment-id:1590753073 --> @zxdong262 commented on GitHub (Jun 14, 2023): > 应该是这个原因,基于ssh2开发的,ssh2应该只是支持标准ssh和sftp协议
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#1867
No description provided.