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:
fit2bot
2023-08-09 10:36:54 +08:00
committed by GitHub
parent 33ee84633f
commit f486c843bf
2 changed files with 12 additions and 5 deletions

View File

@@ -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