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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy