mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-15 21:04:09 +00:00
Merge pull request #9565 from jumpserver/pr@dev@fix_ssh_native
fix: ssh native 不显示问题
This commit is contained in:
commit
3d7428e828
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user