[GH-ISSUE #2727] 部分SFTP 不能连接 #1774

Open
opened 2026-02-27 00:04:48 +03:00 by kerem · 5 comments
Owner

Originally created by @linyuanlun on GitHub (Jan 10, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/2727

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

1.24.13

Platform detail (平台详情)

maos(M1)

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

连接上ssh之后,点击Sftp按钮报错
image
具体内容
Error: Received signal SIGSEGV while establishing SFTP session
at http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1496384
at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1445662)
at Worker. (http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1446591)

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

可以使用软件进行文件传输

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

No response

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

No response

Originally created by @linyuanlun on GitHub (Jan 10, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/2727 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) 1.24.13 ### Platform detail (平台详情) maos(M1) ### What steps will reproduce the bug?(重新问题的详细步骤) 连接上ssh之后,点击Sftp按钮报错 <img width="420" alt="image" src="https://user-images.githubusercontent.com/42368240/211454617-19ecaaed-7e58-479d-a686-f8066ccaa931.png"> 具体内容 Error: Received signal SIGSEGV while establishing SFTP session at http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1496384 at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1445662) at Worker.<anonymous> (http://127.0.0.1:30974/js/electerm.js?1.24.13:2:1446591) ### What should have happened?(期望的结果) 可以使用软件进行文件传输 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
Author
Owner

@zxdong262 commented on GitHub (Jan 11, 2023):

有其他的信息可以提供吗,报错的和不报错的情况有什么区别呢

<!-- gh-comment-id:1378239396 --> @zxdong262 commented on GitHub (Jan 11, 2023): 有其他的信息可以提供吗,报错的和不报错的情况有什么区别呢
Author
Owner

@linyuanlun commented on GitHub (Jan 11, 2023):

公司内部的服务器,通过堡垒机访问

<!-- gh-comment-id:1378257975 --> @linyuanlun commented on GitHub (Jan 11, 2023): 公司内部的服务器,通过堡垒机访问
Author
Owner

@linyuanlun commented on GitHub (Mar 2, 2023):

image
<!-- gh-comment-id:1451148199 --> @linyuanlun commented on GitHub (Mar 2, 2023): <img width="735" alt="image" src="https://user-images.githubusercontent.com/42368240/222308828-85a72302-ae77-49b5-966f-8dc9c8565f85.png">
Author
Owner

@Adsryen commented on GitHub (Jul 10, 2025):

通过堡垒机连接服务器,确实sftp只会尝试连接堡垒机的sftp,并不会切换到后面要连接的服务器的sftp,这个是有办法解决的吗?

现目前一直用的lrzsz,巨慢,只能单独去堡垒机网页点sftp用单独的工具连接

<!-- gh-comment-id:3056505407 --> @Adsryen commented on GitHub (Jul 10, 2025): 通过堡垒机连接服务器,确实sftp只会尝试连接堡垒机的sftp,并不会切换到后面要连接的服务器的sftp,这个是有办法解决的吗? 现目前一直用的lrzsz,巨慢,只能单独去堡垒机网页点sftp用单独的工具连接
Author
Owner

@zxdong262 commented on GitHub (Jul 10, 2025):

通过堡垒机连接服务器,确实sftp只会尝试连接堡垒机的sftp,并不会切换到后面要连接的服务器的sftp,这个是有办法解决的吗?

现目前一直用的lrzsz,巨慢,只能单独去堡垒机网页点sftp用单独的工具连接

可以试试trzsz

<!-- gh-comment-id:3057298704 --> @zxdong262 commented on GitHub (Jul 10, 2025): > 通过堡垒机连接服务器,确实sftp只会尝试连接堡垒机的sftp,并不会切换到后面要连接的服务器的sftp,这个是有办法解决的吗? > > 现目前一直用的lrzsz,巨慢,只能单独去堡垒机网页点sftp用单独的工具连接 可以试试trzsz
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#1774
No description provided.