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

(BKR-1637) fix for Ubuntu 20.04 ssh cmd environment #1635

Merged

Conversation

ciprianbadescu
Copy link
Contributor

In Ubuntu 20.04 openssh server was updated to OpenSSH_8.1p1 Ubuntu-5
and the way the environment is handled was changed: if a variable
is defined in /etc/environment it cannot be overwritten from
~/.ssh/envirnment.

With this change we empty /etc/environment on Ubuntu 20.04 to keep
the previous behaviour.

@ciprianbadescu ciprianbadescu requested a review from a team as a code owner March 24, 2020 08:44
In Ubuntu 20.04 openssh server was updated to `OpenSSH_8.1p1 Ubuntu-5`
and the way the environment is handled was changed: if a variable
is defined in `/etc/environment` it cannot be overwritten from
`~/.ssh/envirnment`.

With this change we empty `/etc/environment` on Ubuntu 20.04 to keep
the previous behaviour.
@ciprianbadescu ciprianbadescu changed the title (maint) fix for Ubuntu 20.04 ssh cmd environment (BKR-1637) fix for Ubuntu 20.04 ssh cmd environment Mar 24, 2020
@ciprianbadescu
Copy link
Contributor Author

@puppetlabs/night-s-watch for review

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

Successfully merging this pull request may close these issues.

2 participants