fix: ssh native 不显示问题

pull/9565/head
Eric 2023-02-15 16:46:39 +08:00
parent 4ac214e91d
commit 75b27b7834
1 changed files with 1 additions and 2 deletions

View File

@ -155,7 +155,7 @@ class ConnectMethodUtil:
protocols = {
TerminalType.koko: {
'web_methods': [WebMethod.web_cli, WebMethod.web_sftp],
'listen': [Protocol.http],
'listen': [Protocol.http, Protocol.ssh],
'support': [
Protocol.ssh, Protocol.telnet,
Protocol.mysql, Protocol.postgresql,
@ -244,7 +244,6 @@ class ConnectMethodUtil:
listen = [protocol]
else:
listen = component_protocol['listen']
for listen_protocol in listen:
# Native method
methods[protocol.value].extend([