diff --git a/messages/en-US.json b/messages/en-US.json index 0745f861a..0727a9a2d 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -3455,5 +3455,6 @@ "sshErrorNoTarget": "No target specified", "sshErrorWebSocket": "WebSocket connection failed", "sshErrorAuthFailed": "Authentication failed", - "sshErrorConnectionClosed": "Connection closed before authentication completed" + "sshErrorConnectionClosed": "Connection closed before authentication completed", + "sitePangolinSshDescription": "Allow SSH access to resources on this site. This can be changed later." } diff --git a/src/components/newt-install-commands.tsx b/src/components/newt-install-commands.tsx index ac8109eab..c2d6f48b6 100644 --- a/src/components/newt-install-commands.tsx +++ b/src/components/newt-install-commands.tsx @@ -286,25 +286,33 @@ WantedBy=default.target` label={t("siteAcceptClientConnections")} /> - {supportsSshOption && ( -
- { - const value = checked as boolean; - setAllowPangolinSsh(value); - }} - label="Allow Pangolin SSH" - /> -
- )}

{t("siteAcceptClientConnectionsDescription")}

+ {supportsSshOption && ( + <> +
+ { + const value = checked as boolean; + setAllowPangolinSsh(value); + }} + label="Allow Pangolin SSH" + /> +
+

+ {t("sitePangolinSshDescription")} +

+ + )}