Skip to content

Commit 95d30e3

Browse files
skulidropekclaude
andcommitted
fix(app): restore inline ProxyCommand in SSH connect command
Show self-contained command that works without ~/.ssh/config setup: ssh -o "ProxyCommand=cloudflared access ssh --hostname %h" -t dev@HOST "cd /path && exec $SHELL" Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ef4b61f commit 95d30e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/web/app-ready-terminal-pane.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const VsCodeAccessPanel = (
215215
): JSX.Element => {
216216
const cfSshConfig = cfState.tag === "ready" ? hostSshConfig(cfState.hostname, info.targetDir) : null
217217
const cfSshCommand = cfState.tag === "ready"
218-
? `ssh ${info.sshUser}@${cfState.hostname}`
218+
? `ssh -o "ProxyCommand=cloudflared access ssh --hostname %h" -t ${info.sshUser}@${cfState.hostname} "cd ${info.targetDir} && exec \\$SHELL"`
219219
: null
220220
const cfVscodeUri = cfState.tag === "ready"
221221
? `vscode://ms-vscode-remote.remote-ssh/open?hostName=${encodeURIComponent(`${info.sshUser}@${cfState.hostname}`)}&folder=${encodeURIComponent(info.targetDir)}`

0 commit comments

Comments
 (0)