tabby icon indicating copy to clipboard operation
tabby copied to clipboard

[feature request] Allow to send environment variables for ssh connections, just like SendEnv in openssh-client

Open ismxilxrif opened this issue 11 months ago • 2 comments

Allow sending environment variables for ssh connections, the same feature as in SendEnv config directive in openssh-client

in normal local shell connections, we already have this:

Image

but inside ssh. it doesn't have the ones like above:

Image

hope we can have feature like this soon,

thank you

ismxilxrif avatar Jan 18 '25 07:01 ismxilxrif

It seems that sendenv does not work right now if using imported connections from the ssh config. I guess some of these items are stripped out of ssh config when using them. Would adding the sendenv need to be a part of this feature? Or would it be separate? Just started using tabby and didn't realize sendenv was going to get stripped and that's adding lots of complexity to a few things needed for my setup.

nicholas-a-guerra avatar Mar 11 '25 03:03 nicholas-a-guerra

I would also love this feature. My use case is Windows host running VSCode, developing via a remote SSH dev container (that's running in a linux vm). With vanilla PuTTY, getting Windows env vars automatically injected in the terminal session works fine (e.g. by specifying a SendEnv line in C:\Users\Foo\.ssh\config); but Tabby connections don't seem to pick this up.

corford avatar May 13 '25 17:05 corford