vscode-coder icon indicating copy to clipboard operation
vscode-coder copied to clipboard

Remote-SSH connection fails when the generated VS Code host alias is long (“ControlPath too long”)

Open lennmail opened this issue 1 month ago • 0 comments

The VS Code host alias generated for Coder workspaces can be very long. This pushes OpenSSH’s ControlPath over its 108-byte limit, and the connection fails with:

ControlPath too long ('/home/<user>/.ssh/master-<user>@<generated-alias>:22' >= 108 bytes) ssh child died, shutting down

lennmail avatar Oct 20 '25 08:10 lennmail