[GH-ISSUE #2048] 堡垒机连接切换sftp时出现问题 #1247

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

Originally created by @SymerBoy on GitHub (Jan 26, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2048

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:1.11.6

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

Expected Behavior

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

1.登录堡垒机->账号->密码->动态验证
2.选择指定服务器
3.从ssh切换至sftp
4.进入"/"根目录(需要在ssh配置地址中将开始目录:远程设置为"/"才能进入堡垒机界面,否则同样会出错)
5.再进入根目录下其他目录时出错,错误信息如下:
"Error: No such file at Object.resolve (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.6:2:369260) at Worker. (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.6:2:305160)"

Context (Environment)

Detailed Description

登录堡垒机没有问题,在堡垒机中进入指定服务器之后选择指定服务器,切换sftp之后可以进入指定服务器"/"目录,但是无法再进下一目录

Suggestions?

Originally created by @SymerBoy on GitHub (Jan 26, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2048 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version:1.11.6 ## Operating system(linux, macos, or windows7/8/10?):macos Cataline 10.15.7 ## Expected Behavior <!--- Tell me what should happen --> ## 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.从ssh切换至sftp 4.进入"/"根目录(需要在ssh配置地址中将开始目录:远程设置为"/"才能进入堡垒机界面,否则同样会出错) 5.再进入根目录下其他目录时出错,错误信息如下: "Error: No such file at Object.resolve (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.6:2:369260) at Worker.<anonymous> (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.11.6:2:305160)" ## 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 --> 登录堡垒机没有问题,在堡垒机中进入指定服务器之后选择指定服务器,切换sftp之后可以进入指定服务器"/"目录,但是无法再进下一目录 ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
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#1247
No description provided.