mirror of https://github.com/jumpserver/jumpserver
commit
3d7428e828
|
@ -155,7 +155,7 @@ class ConnectMethodUtil:
|
||||||
protocols = {
|
protocols = {
|
||||||
TerminalType.koko: {
|
TerminalType.koko: {
|
||||||
'web_methods': [WebMethod.web_cli, WebMethod.web_sftp],
|
'web_methods': [WebMethod.web_cli, WebMethod.web_sftp],
|
||||||
'listen': [Protocol.http],
|
'listen': [Protocol.http, Protocol.ssh],
|
||||||
'support': [
|
'support': [
|
||||||
Protocol.ssh, Protocol.telnet,
|
Protocol.ssh, Protocol.telnet,
|
||||||
Protocol.mysql, Protocol.postgresql,
|
Protocol.mysql, Protocol.postgresql,
|
||||||
|
@ -244,7 +244,6 @@ class ConnectMethodUtil:
|
||||||
listen = [protocol]
|
listen = [protocol]
|
||||||
else:
|
else:
|
||||||
listen = component_protocol['listen']
|
listen = component_protocol['listen']
|
||||||
|
|
||||||
for listen_protocol in listen:
|
for listen_protocol in listen:
|
||||||
# Native method
|
# Native method
|
||||||
methods[protocol.value].extend([
|
methods[protocol.value].extend([
|
||||||
|
|
Loading…
Reference in New Issue