Project

General

Profile

Actions

Feature #11118

closed

Backup and restore SSH host key(s)

Added by Jim Pingle almost 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Very Low
Assignee:
Viktor Gurov
Category:
Backup / Restore
Target version:
Start date:
12/01/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.01
Release Notes:

Description

It would be nice to backup the SSH host keys (public and private) from /etc/ssh and restore them if they are in the configuration. Could be optional, but seems like something we'd want to do by default.

Generally speaking, the host keys should follow the config, as if it changes (reinstall, etc) then clients would fail to recognize the host as the same after it's restored, which seems counter-intuitive.

Alternately, we could have a GUI for this (perhaps on system_advanced_admin.php or split the SSH options off to their own page) to manage the keys, which would include them in the config and also give the user an opportunity to easily regenerate them if they want. That may be overkill, however, as it's rarely a necessary step.


Related issues

Related to Bug #12637: Incorrect SSH key permission after restoreResolvedViktor Gurov

Actions
Actions

Also available in: Atom PDF