Bug 35216 - Change ssh conf directory to /etc/ssh
Summary: Change ssh conf directory to /etc/ssh
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: openssh (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL: https://www.openssh.com/txt/release-3.1
Depends on:
Reported: 2018-08-06 11:19 MSK by Grigory Maksimov
Modified: 2018-08-08 15:15 MSK (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Grigory Maksimov 2018-08-06 11:19:07 MSK
Since release 3.1 (2004-04-09) default ssh config directory was unified to /etc/ssh

Distributions where /etc/ssh is default config dir:
* Debian
* Ubuntu
* Redhat/Fedora
* Suse
* Gentoo
* Arch
* Slackware
P.s. Can't find distro where /etc/openssh is default config dir.

Proposal change:
1) Add symlink /etc/ssh to /etc/openssh/
2) Add deprecated warning
3) Move /etc/openssh to /etc/ssh. Add symlink /etc/openssh to /etc/ssh
4) Possibly remove symlink

Almost all distros use /etc/ssh, so more and more software will hardcode /etc/ssh. No need to have non-standard config directories and hack packages to use them.
More scripts will be compatible to ALT Linux.
Comment 1 Dmitry V. Levin 2018-08-07 15:00:46 MSK
I don't see any point in changing /etc/openssh to anything else, it would just break things without any benefit.

I think it's OK to add a compatibility symlink /etc/ssh -> openssh, I don't see any potentially negative effects.
Comment 2 Grigory Maksimov 2018-08-08 15:03:43 MSK
I think that making smth in ALT Linux similar to all other distros is enough to be a benefit.
I suggest making changes slowly in few releases in order not to break anything, rather not making them.

Let's start from creating symlink /etc/ssh -> /etc/openssh
Comment 3 Dmitry V. Levin 2018-08-08 15:15:08 MSK
(In reply to comment #2)
> I think that making smth in ALT Linux similar to all other distros is enough to
> be a benefit.

Yes, some level of compatibility might be beneficial, nobody argues about that,
but I don't see how a similarity by itself could be beneficial.