[GH-ISSUE #2296] SFTP cannot connect normally and reports an error #1451

Closed
opened 2026-02-27 00:03:35 +03:00 by kerem · 1 comment
Owner

Originally created by @ghost on GitHub (Oct 31, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2296

Please check known issues first

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

Electerm version:

1.16.21

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

Windows10 21H1

Expected Behavior

SFTP normal connection

Can you reproduce the same behavior in other terminal:

No

Current Behavior

SFTP cannot connect normally and an error is reported. The content is as follows:
Error: Unable to start subsystem: sftp
at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1416520
at Object.resolve (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1346858)
at Worker. (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1347787)

Possible Solution

Steps to Reproduce

1.Create and connect to SSH
2.SSH is normal after connection, but SFTP cannot be connected and an error is reported
3.
4.

Context (Environment)

Unable to manage files on remote server

Detailed Description

It is recommended to fix this error as soon as possible

Suggestions?

Originally created by @ghost on GitHub (Oct 31, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2296 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: 1.16.21 ## Operating system(linux, macos, or windows7/8/10?): Windows10 21H1 ## Expected Behavior <!--- Tell me what should happen --> SFTP normal connection ## 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 --> No ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> SFTP cannot connect normally and an error is reported. The content is as follows: Error: Unable to start subsystem: sftp at file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1416520 at Object.resolve (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1346858) at Worker.<anonymous> (file:///C:/Program%20Files/electerm/resources/app.asar/assets/js/electerm.js?1.16.21:2:1347787) ## 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.Create and connect to SSH 2.SSH is normal after connection, but SFTP cannot be connected and an error is reported 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 --> Unable to manage files on remote server ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> It is recommended to fix this error as soon as possible ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-27 00:03:36 +03:00
Author
Owner

@zxdong262 commented on GitHub (Oct 31, 2021):

Is it situation like this: https://github.com/mscdex/ssh2/issues/115

<!-- gh-comment-id:955665737 --> @zxdong262 commented on GitHub (Oct 31, 2021): Is it situation like this: https://github.com/mscdex/ssh2/issues/115
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#1451
No description provided.