[GH-ISSUE #1724] Add disable sftp option #1013

Closed
opened 2026-02-27 00:01:54 +03:00 by kerem · 2 comments
Owner

Originally created by @marskang on GitHub (Jun 2, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1724

Electerm version:

v1.3.35

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

macos

Expected Behavior

连接上堡垒机之后,可以正常选择服务器

Can you reproduce the same behavior in other terminal:

SecureCRT连上堡垒机后,可正常选择服务器

Current Behavior

Electerm连接上堡垒机之后,可以看到服务器列表,但是立马报错断开,
错误信息如下:
[2020-06-02 12:01:59.592] [error] {
constructor: 'Error',
stack: 'Error: Unable to start subsystem: sftp\n' +
' at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:422657\n' +
' at WebSocket.n (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:379923)'
}
[2020-06-02 12:01:59.634] [debug] socket closed, pid: 1ZtdFeqOp
[2020-06-02 13:38:40.702] [debug] sftp error Unable to start subsystem: sftp
[2020-06-02 13:38:40.713] [error] {
constructor: 'Error',
stack: 'Error: Unable to start subsystem: sftp\n' +
' at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:422657\n' +
' at WebSocket.n (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:379923)'
}

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @marskang on GitHub (Jun 2, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1724 <!--- Provide some basic info --> ## Electerm version: v1.3.35 ## Operating system(linux, macos, or windows7/8/10?): macos ## 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 --> SecureCRT连上堡垒机后,可正常选择服务器 ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> Electerm连接上堡垒机之后,可以看到服务器列表,但是立马报错断开, 错误信息如下: [2020-06-02 12:01:59.592] [error] { constructor: 'Error', stack: 'Error: Unable to start subsystem: sftp\n' + ' at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:422657\n' + ' at WebSocket.n (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:379923)' } [2020-06-02 12:01:59.634] [debug] socket closed, pid: 1ZtdFeqOp [2020-06-02 13:38:40.702] [debug] sftp error Unable to start subsystem: sftp [2020-06-02 13:38:40.713] [error] { constructor: 'Error', stack: 'Error: Unable to start subsystem: sftp\n' + ' at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:422657\n' + ' at WebSocket.n (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.1.3.35-a7dd29513827de7b29ba64a43211c38638802f02.js:19:379923)' } ## 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. 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 --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## 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:01:54 +03:00
Author
Owner

@marskang commented on GitHub (Jun 2, 2020):

可以关掉这个sftp自动连接吗

<!-- gh-comment-id:637380353 --> @marskang commented on GitHub (Jun 2, 2020): 可以关掉这个sftp自动连接吗
Author
Owner

@bianyifeng commented on GitHub (Jun 22, 2020):

书签关闭SFTP 依然断开
[2020-06-22 10:21:38.504] [debug] socket closed, pid: bW9__G_yq

<!-- gh-comment-id:647231418 --> @bianyifeng commented on GitHub (Jun 22, 2020): 书签关闭SFTP 依然断开 [2020-06-22 10:21:38.504] [debug] socket closed, pid: bW9__G_yq
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#1013
No description provided.