-
Notifications
You must be signed in to change notification settings - Fork 952
Closed
Feature
2 / 22 of 2 issues completed
Copy link
Labels
cliArea: CLIArea: CLImust-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.Issues that must be completed by the end of the Sprint. Or else. Only humans may set this.
Description
Problem Statement
coder ssh
is a separate path from coder config-ssh && ssh <coder.workspace>
. There are unpredictable behaviors.
- For starters, you cannot use
coder ssh
to just run "one shot command" and get it in stdout# works ssh coder.fresh ls # does not work coder ssh fresh ls
- More importantly, it does not respect what you have set in
.ssh/config
, for example if you have special options around GPG forwarding, etc. This is the root of the customer issue
Proposal
- When running
coder ssh
, first attempt to usessh
and read the hosts, then gracefully fall back to the current behavior. - Add a flag to prevent
coder ssh
from reading.ssh/config
- Add support to for running commands in workspace via
coder ssh workspace [command]
#2154
matifali and stirby
Sub-issues
Metadata
Metadata
Assignees
Labels
cliArea: CLIArea: CLImust-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.Issues that must be completed by the end of the Sprint. Or else. Only humans may set this.