Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LC_* Env error despite appropriate options #2

Open
aalok-sathe opened this issue Sep 28, 2021 · 0 comments
Open

LC_* Env error despite appropriate options #2

aalok-sathe opened this issue Sep 28, 2021 · 0 comments

Comments

@aalok-sathe
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant