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

Update openssh sftp-server path #73

Closed
wants to merge 1 commit into from
Closed

Conversation

boTux
Copy link

@boTux boTux commented Aug 31, 2018

Change the path of /usr/lib/ssh/sftp-server to /usr/lib/openssh/sftp-server.
Fix #72.

Change the path of `/usr/lib/ssh/sftp-server` to `/usr/lib/openssh/sftp-server`.
Fix mozilla#72.
@boTux
Copy link
Author

boTux commented Aug 31, 2018

Should we add a comment like :

# Check the path of sftp-server with `whereis sftp-server` to confirm the path of the lib.

@gdestuynder
Copy link
Contributor

the path is distribution dependent though i believe the default is ssh (as opposed to openssh)
thus, a comment as you proposed: # Check the path of sftp-server with whereis sftp-server to confirm the path of the lib. seem like the best option

@gdestuynder gdestuynder self-requested a review November 13, 2018 21:05
@gdestuynder
Copy link
Contributor

@boTux would you like to modify your PR to just include the comment instead?

@gdestuynder
Copy link
Contributor

no response - closing
feel free to re-open any time though
thanks!

@gdestuynder gdestuynder closed this Apr 4, 2019
@boTux
Copy link
Author

boTux commented Apr 15, 2019

@gdestuynder thanks for your reply.

I will add the comment on the modern & intermediate openssh-server configurations, but on the docs/guidelines/openssh.md#protection-of-machine-keys section on line 276-277 should we do the same?


Information :

  • Ubuntu/Debian :
    • /usr/lib/openssh/sftp-server
    • /usr/lib/sftp-server -> openssh/sftp-server
  • Archlinux :
    • /usr/lib/ssh/sftp-server
  • CentOS 7
    • /usr/libexec/openssh/sftp-server

The whereis sftp-server command might be the only safe way to indicate to the user the right path...

@gdestuynder
Copy link
Contributor

@boTux how about writing the example with the whereis command? that way it probably works everywhere. I didn't realize each distro basically uses a different path

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.

Modern OpenSSH server configuration error on Ubuntu 18.04 LTS
2 participants