-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't pass all environment variables through sshd (#1186)
The HOME variable was always set to / for non-root shells, when sshd should be setting it. While we are at it, we might as well filter out several other environment variables which I think ought not to be passed in this way at all.
- Loading branch information
1 parent
ab671d1
commit e255979
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters