[GH-ISSUE #2933] ssh连接后sftp报错 #1927

Open
opened 2026-02-27 00:05:22 +03:00 by kerem · 6 comments
Owner

Originally created by @filusilia on GitHub (Aug 18, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/2933

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

1.28.4

Platform detail (平台详情)

linux arm64

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

通过调整build配置,成功编译deb后安装,打开软件能够正常连接ssh,但是打开sftp标签时报错
Error: No such file
at http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1542826
at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1500606)
at Worker. (http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1501535)

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

能够正常sftp

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

No response

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

No response

Originally created by @filusilia on GitHub (Aug 18, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/2933 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) 1.28.4 ### Platform detail (平台详情) linux arm64 ### What steps will reproduce the bug?(重新问题的详细步骤) 通过调整build配置,成功编译deb后安装,打开软件能够正常连接ssh,但是打开sftp标签时报错 Error: No such file at http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1542826 at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1500606) at Worker.<anonymous> (http://127.0.0.1:30974/js/electerm.js?1.28.4:2:1501535) ### What should have happened?(期望的结果) 能够正常sftp ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
Author
Owner

@zxdong262 commented on GitHub (Aug 23, 2023):

是否能够在其他同类软件重现这个问题?

<!-- gh-comment-id:1689317489 --> @zxdong262 commented on GitHub (Aug 23, 2023): 是否能够在其他同类软件重现这个问题?
Author
Owner

@filusilia commented on GitHub (Aug 28, 2023):

是否能够在其他同类软件重现这个问题?

使用了tabby没有发现问题,刚才用最新的1.29.2重新编译安装了一次,问题还是一样的

<!-- gh-comment-id:1695119363 --> @filusilia commented on GitHub (Aug 28, 2023): > 是否能够在其他同类软件重现这个问题? 使用了tabby没有发现问题,刚才用最新的1.29.2重新编译安装了一次,问题还是一样的
Author
Owner

@filusilia commented on GitHub (Aug 28, 2023):

是否能够在其他同类软件重现这个问题?

我在sftp标签上跳转了一下sftp的目录 /,远程文件就可以打开查看了。
哦 好像发现问题所在了,因为我们服务器的问题,登录时是跳板机登录,导致sftp可能找不到初始的路径。我觉得可以调整为找不到路径就sftp到初始目录/ 或者/home之类的。不知道这个思路对不对。

<!-- gh-comment-id:1695122152 --> @filusilia commented on GitHub (Aug 28, 2023): > 是否能够在其他同类软件重现这个问题? 我在sftp标签上跳转了一下sftp的目录 /,远程文件就可以打开查看了。 哦 好像发现问题所在了,因为我们服务器的问题,登录时是跳板机登录,导致sftp可能找不到初始的路径。我觉得可以调整为找不到路径就sftp到初始目录/ 或者/home之类的。不知道这个思路对不对。
Author
Owner

@filusilia commented on GitHub (Aug 28, 2023):

请问能不能添加更多的启动命令 ,想要一个类似sftp启动的,就是启动只有sftp连接

<!-- gh-comment-id:1695174806 --> @filusilia commented on GitHub (Aug 28, 2023): 请问能不能添加更多的启动命令 ,想要一个类似sftp启动的,就是启动只有sftp连接
Author
Owner

@zxdong262 commented on GitHub (Aug 28, 2023):

创建书签的设置选项里可以关掉ssh

<!-- gh-comment-id:1695214357 --> @zxdong262 commented on GitHub (Aug 28, 2023): 创建书签的设置选项里可以关掉ssh
Author
Owner

@filusilia commented on GitHub (Aug 29, 2023):

创建书签的设置选项里可以关掉ssh

想要一个类似目前 -l -pw 的命令能够直接启动链接sftp的命令

<!-- gh-comment-id:1696637397 --> @filusilia commented on GitHub (Aug 29, 2023): > 创建书签的设置选项里可以关掉ssh 想要一个类似目前 -l -pw 的命令能够直接启动链接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#1927
No description provided.