Content-Length: 276211 | pFad | https://github.com/coder/coder/issues/2154

A4 Add support to for running commands in workspace via `coder ssh workspace [command]` · Issue #2154 · coder/coder · GitHub
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









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/coder/coder/issues/2154

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy