Skip to content

LC_* Env error despite appropriate options #2

@aalok-sathe

Description

@aalok-sathe

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions