-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Builtin SSH server bug when client sends environment variables #6085
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
Comments
The workaround for this is relatively simple. I just created an empty program called Line 62 in 2d213b6
env side effects.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Just to be clear, this bug is only on windows only since they don't have an If it is the case, we just need to not rely on the env command and build a env variable array to propagate for future call of exec.
|
Rethinking of it, I think calling env doesn't have done anything previously to subsequent calls so I don't even know if we shouldn't totally ignore it. |
Umm… ssh with |
@sapk it may be using openssh by default, but I did configure it to use inernal:
And yes, I understand you believe it should work, that's why I mentioned that. Moreover, setting
|
@hacker Can you re-try with the :latest docker build ? (published 9 hour ago) |
Hey, yes, seems to do the trick. |
Still wonder what was the reason. While ignoring The above is nothing but the curiosity though ;-) |
[x]
):Description
Using the builtin SSH server, I have this in my
~/.ssh/config
on client side:For an unrelated reason,
LC_MESSAGES
was set to an empty value. In this case all operations fail, with client side debug logs:Server side logs (trace level):
If I set
LC_MESSAGES
to a non empty value, it works but the server logs makes me think some parsing is happening on server side and it fails:Screenshots
N/A
The text was updated successfully, but these errors were encountered: