Closed jaredramirez closed 3 years ago
This warning is because the server refused to set the requested environment variables; the AcceptEnv
setting in sshd_config
controls whether this is allowed, and defaults to not allowing anything other than TERM
to be propagated.
Gotcha, that fixed it. Thank you!
7dd77a03 improves the error message to point folks at that config
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Describe the bug
When I ssh into a remote machine using wezterm's (with
wezterm ssh ...
) a handful of environment variables are not set on the remote machine. Specifically,WEZTERM_PANE
,TERM_PROGRAM
,TERM_PROGRAM_VERSION
, andTERM
.Due to this, some commands such as
wezterm cli split-pane
fail with:The logs on the client machine are:
Environment (please complete the following information):
wezterm 20210502-154244-3f7122cb
I've installed Wezterm through Nix, so I cannot confirm if this is occurring on nightly too
To Reproduce
wezterm ssh user@server
Configuration
I don't believe this is relevant
Expected behavior
I expect using wezterm over ssh to work pretty much the same as using it locally.
Screenshots
Session Recording
Additional context
My nixpkgs rev is
97087745820218d37afb6360eebdc6063a21d93a
My libssh2 version is1.9.0