+
+
+ Couldn't reach {targetHost}:{portNum}
+
+
+ If it's behind NAT or a firewall, install the ShellHub agent on
+ it to reach it through the gateway. No public IP or open ports
+ needed.
+
+
+
+ Install the agent
+
+
+
+
+
)}
+
+ {/* Host key confirmation (TOFU) for an external target's first connect,
+ or when the stored key changed. */}
+ {hostKeyResult && (
+
+
+ {hostKeyResult.status === "changed" ? (
+
+ ) : (
+
+ )}
+ {hostKeyResult.status === "changed"
+ ? "Host key changed — possible man-in-the-middle"
+ : `First connection to ${targetHost}:${portNum}`}
+
+
+ Verify this host key fingerprint out of band before trusting it.
+ {hostKeyResult.status === "changed" &&
+ hostKeyResult.stored &&
+ ` It was ${hostKeyResult.stored.fingerprint}.`}
+
+
+
+ {hostKeyResult.key_type} {hostKeyResult.fingerprint}
+
+
+
+
+
+
+
+
+ )}
+
+ {hostKeyError &&