mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-18 16:39:28 +00:00
feat: 支持拉起本地客户端 (#10865)
* perf: 拉起本地客户端应用接口提供更多数据 * fix: rdp客户端拉起后窗口标题中文乱码 * perf: ssh客户端连接选项显示优化 * feat: 增加本地sftp客户端选项 * perf: 合并支持sftp协议 * perf: sftp与ssh使用相同端口 --------- Co-authored-by: halo <wuyihuangw@gmail.com>
This commit is contained in:
@@ -41,6 +41,8 @@ class Endpoint(JMSBaseModel):
|
||||
protocol == Protocol.oracle:
|
||||
port = db_port_manager.get_port_by_db(target_instance)
|
||||
else:
|
||||
if protocol == Protocol.sftp:
|
||||
protocol = Protocol.ssh
|
||||
port = getattr(self, f'{protocol}_port', 0)
|
||||
return port
|
||||
|
||||
|
Reference in New Issue
Block a user