feat: 添加配置项 KoKo SSH Client 方式

This commit is contained in:
Jiangjie.Bai
2022-04-19 16:01:05 +08:00
committed by Jiangjie.Bai
parent be2708f83d
commit f8fade4cf2
8 changed files with 159 additions and 174 deletions

View File

@@ -30,8 +30,9 @@ class TerminalSettingSerializer(serializers.Serializer):
)
TERMINAL_TELNET_REGEX = serializers.CharField(
allow_blank=True, max_length=1024, required=False, label=_('Telnet login regex'),
help_text=_("The login success message varies with devices. "
help_text=_("Tips: The login success message varies with devices. "
"if you cannot log in to the device through Telnet, set this parameter")
)
TERMINAL_MAGNUS_ENABLED = serializers.BooleanField(label=_("Enable database proxy"))
XRDP_ENABLED = serializers.BooleanField(label=_("Enable XRDP"))
TERMINAL_KOKO_SSH_ENABLED = serializers.BooleanField(label=_("Enable KoKo SSH"))