- Notifications
You must be signed in to change notification settings - Fork926
Closed
Feature
2 of 2 issues completed
Description
Problem Statement
coder ssh
is a separate path fromcoder 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