Bug 35216

Summary: Change ssh conf directory to /etc/ssh
Product: Sisyphus Reporter: Grigory Maksimov <maksimov>
Component: opensshAssignee: Gleb F-Malinovskiy <glebfm>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: ekorneechev, evg, glebfm, ldv, vt
Version: unstable   
Hardware: all   
OS: Linux   
URL: https://www.openssh.com/txt/release-3.1

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

Why:
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.