sshlatex
sshlatex copied to clipboard
LC_* Env error despite appropriate options
Hello!
I tried running sshlatex, but unfortunately I run into the following error:
*** Initial upload...
foo.tex
*** Error: ssh does not pass LC_* environment variables to the server.
Did you establish an ssh connection prior to running sshlatex which is
reused using connection sharing? In this case, try passing -o SendEnv=LC_*
to the ssh command which establishes the master connection.
*** Didn't get a proper server response; aborting.
However, according to my config, the env vars should be sent:
Host ABC
HostName ABC.XYZ.com
# ... more stuff ...
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
SendEnv LC_*
I also tried the following independently
ssh user@hostname -o SendEnv=LC_*
but to no avail.
In between trying these commands, I cleared the cached connection in ~/.ssh/.
Has anyone run into this, and has any suggestions to troubleshoot? Or otherwise could there perhaps be an alternate way to pass around env variables, such as in a file?