Opened 18 years ago
Closed 18 years ago
#1938 closed defect (fixed)
OpenSSH installs files incorrectly
Reported by: | Randy McMurchy | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
In the OpenSSH instructions there is a --libexecdir setting that causes files to be in /usr/sbin that should not be. The sftp-server and ssh-keygen files should be in /usr/lib/openssh instead.
Change History (5)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Well, I've got plenty to do other than this, but I do feel it should be changed. Since we are both offering opinions, mine is that the libexecdir setting should be changed, or
(direct conflict with what Dan says) we need to submit a bug to the OpenSSH developers that says they need to update their man page for ssh-keygen. If it is indeed a useful command-line tool, why would the man page say this:
ssh-keysign is not intended to be invoked by the user, but from ssh(1). See ssh(1) and sshd(8) for more information about hostbased authentication.
comment:3 by , 18 years ago
Wait, we're talking about two different tools. ssh-keygen is in $(bindir). This is useful for all users. ssh-keysign is something different that I've never used and says the above remarks in the man page. In that case ssh-keysign and sftp-server are the only things destined for $(libexecdir). Now I'm behind the change.
comment:4 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed to --libexecdir=/usr/lib/openssh
Fixed at revision 5970.
If you really feel strongly about it, then make the switch. However, ssh-keygen is a useful command-line utility that should be in root's path, IMO. sftp-server is not intended to be called directly, though, and would be best out of any user's path.