Skip to content

Commit d22fae9

Browse files
ahalekellyclaude
andcommitted
fix(server): don't blame the target for a proxy hop's login failure
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 27de724 commit d22fae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/device/SshDeviceHost.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class SshConnectError extends Schema.TaggedError<SshConnectError>()("SshC
5858
case "host_key_changed":
5959
return `The host key of ${this.target} changed since ${here} trusted it. If you expected this, remove the old key with \`ssh-keygen -R\` there, then connect once with ssh to accept the new one.`;
6060
case "auth":
61-
return `SSH rejected the login to ${this.target}: ${detail}. Check the user name and key; ssh from ${here} must log in without a prompt.`;
61+
return `SSH login failed while connecting to ${this.target}: ${detail}. SSH from ${here} must log in without a prompt.`;
6262
case "resolve":
6363
return `Could not resolve the host name ${this.target} from ${here}: ${detail}.`;
6464
case "connect":

0 commit comments

Comments
 (0)