Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upOpenSSH global-writeable settings with "keep-old" flag #329
Conversation
|
A better fix would be to not use a package-specific path there and point to /system instead? |
Also add a post-install script, fix_openssh_config_paths.sh, which makes the required changes to both ssh_config and sshd_config in /boot/system/settings/ssh/ if needed. Original files are saved with a .bak suffix. Moreover, default config files are also available in /system/data/openssh/ as ssh_config.default and sshd_config.default.
|
I've just converted this issue into a PR by attaching a commit that fixes the bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
fbrosson commentedJun 7, 2016
I updated my Haiku install, and then tried to log in through sftp. It worked before, but not anymore. I was able to log in through SSH, but not with SFTP.
I located the problem, it is the keep-old flag of the /boot/system/settings/ssh/sshd_config file.
It had the following line:
Subsystem sftp /packages/openssh-6.6p1-1/.self/lib/openssh/sftp-server
but the correct path is:
Subsystem sftp /packages/openssh-7.1p1-1/.self/lib/openssh/sftp-server
We should somehow update this file after each openssh update.