8000 Add support to for running commands in workspace via `coder ssh workspace [command]` · Issue #2154 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Add support to for running commands in workspace via coder ssh workspace [command] #2154
@mafredri

Description

@mafredri

Feature request

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.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0