Skip to content

Commit 70dd045

Browse files
LunfanZhangBengangY
authored andcommitted
CP-308326 Refine the Auto-mode configuration setting
Signed-off-by: Lunfan Zhang[Lunfan.Zhang] <[email protected]>
1 parent 14739aa commit 70dd045

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins-base/XSFeatureRemoteShell.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self):
3131
pane.AddBox()
3232

3333
self.disableMenu = Menu(self, None, Lang("Disable Options"), [
34-
ChoiceDef(Lang("Standard Disable"), lambda: self.HandleChoice(DISABLE)),
34+
ChoiceDef(Lang("Always Disable"), lambda: self.HandleChoice(DISABLE)),
3535
ChoiceDef(Lang("Disable and Turn on Auto-mode"), lambda: self.HandleChoice(AUTO))
3636
])
3737

@@ -69,8 +69,8 @@ def HandleChoice(self, inChoice):
6969
"Command Shell to terminate them.")
7070
if inChoice == AUTO:
7171
data.SetSSHAutoMode(True)
72-
message = Lang("Auto configuration for ssh xapi console has been set. New connections via "
73-
"the remote shell will be enabled/disabled based on the state of the xapi")
72+
message = Lang("SSH auto-mode has been configured. For security,"
73+
"SSH is normally disabled and will only be enabled in case of emergency.")
7474

7575
Layout.Inst().PushDialogue(InfoDialogue(message))
7676

0 commit comments

Comments
 (0)