Open lengau opened 9 years ago
Forwarding the environment variable can be done through SendEnv and AcceptEnv.
~/.ssh/config can be used to set up the socket forwarding, though I don't think you can forward the socket based on the environment variable.
ssh-agent uses quite a bit of code that's baked into openssh to make itself work. Perhaps with libopenssh the OpenSSH developers will expose an API that allows something similar. This may require rewriting sshed in C or writing libopenssh bindings for Python.
Before a 1.0 release, sshedit should work (somehow — suggestions are welcome) without special commands, etc.
It's alright to require some setup for seamless work (similar to ssh agent, though potentially more setup), but the end goal should be to allow the user to simply login locally, SSH to a machine, and immediately use sshedit.