You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support to for running commands in workspace via coder ssh workspace [command] where [command] is immediately run on the workspace instead of a login shell.
This feature should behave like ssh coder.workspace [command].
(I'm writing this as a feature request, although I do think it could classify as a bug/missing core functionality.)
Are there any workarounds?
Yes, use ssh instead of coder ssh.
Notes
There are other limitations to coder ssh as well, like not reading standard input, for instance:
❯ coder ssh work <<<'echo hi'
inappropriate ioctl for device
❯ ssh coder.work <<<'echo hi'
hi
I think for coder ssh to be the most useful, it should have greater feature parity with plain ssh.