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

Mosh appears to drop extra environment variables #1975

Open
3 tasks done
rrgeorge opened this issue Feb 22, 2024 · 0 comments
Open
3 tasks done

Mosh appears to drop extra environment variables #1975

rrgeorge opened this issue Feb 22, 2024 · 0 comments
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.

Comments

@rrgeorge
Copy link

rrgeorge commented Feb 22, 2024

Checklist

Configuration

Blink 17.2.1.865
iOS 17.2.1

Describe the bug

Sending a custom environment variable (via SendEnv) (such as LC_DEVICE) is lost when connecting over mosh.
The variable is successfully set over SSH.
Steps to reproduce:

  1. Set SendEnv in .ssh/config (or host SSH config):
SendEnv LC_DEVICE
  1. Set env in host .blink/profile:
LC_DEVICE=test
  1. Confirm its set:
blink> echo $LC_DEVICE
test
  1. Confirm its set over ssh:
blink> ssh host
$ echo $LC_DEVICE
test
  1. Try over mosh:
blink> mosh host
$ echo $LC_DEVICE

no output

Expected behavior

For SendEnv variables to behave the same over mosh as they do on ssh

@rrgeorge rrgeorge added the bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions. label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Projects
None yet
Development

No branches or pull requests

1 participant