- Notifications
You must be signed in to change notification settings - Fork925
Description
When using Coder VPN, the--wait
option is no-op (essentially always--wait=no
), even if a workspace has been configured to run startup scripts before entering the workspace.
Fromcoder ssh --help
.
--wait yes|no|auto, $CODER_SSH_WAIT (default: auto) Specifies whether or not to wait for the startup script to finish executing. Auto means that the agent startup script behavior configured in the workspace template is used.
Previously, and when using regularcoder ssh
or OpenSSH viacoder config-ssh
, it has been possible to delay workspace access via the auto behavior or manually viaCODER_SSH_WAIT=no ssh coder.my-workspace
.
Coder VPN bypasses the current wait implementation since OpenSSH can connect directly and does not require thecoder ssh
proxy command.
A potential would be to move the logic into the agent SSH server (agentssh
package). Both log streaming and changing the wait option could be implemented viaSendEnv
variables. Log streaming could be handled in the same way that e.g.motd
is.