Closed
Description
What is your suggestion?
It would be nice to support SSH agent forwarding and the use-cases it enables.
At minimum this would be supported via ssh coder.[workspace]
syntax but ideally also by coder ssh
.
Why do you want this feature?
There are a few use-cases for this functionality:
- As a developer, I want to use my YubiKey to authenticate all interactions with my GitHub repos
- As a developer, I want to use the SSH keys generated in 1Password, together with the 1Password SSH agent to grant key access via biometric authentication
- As a developer, I want to sign my git commits using my YubiKey, smart card or locally stored GPG key
A few of the existing SSH agents are:
- SSH Agent (available on most platforms)
- yubikey-agent
- 1Password SSH agent
- GNUPG Agent with
--enable-ssh-support
Are there any workarounds to get this functionality today?
A quick draft PR has been created #1548 that adds a basic building block to support this feature, but it's not user friendly (yet).