| Summary: | After installing openssh-server host keys are not created automatically | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alex Kotov <alex_q_2000> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | akkaran046, jani.valimaa |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | openssh-7.5p1-1.mga6 | CVE: | |
| Status comment: | |||
|
Description
Alex Kotov
2017-04-02 11:19:14 CEST
What if you use start instead of restart? CC:
(none) =>
jani.valimaa (In reply to Jani Välimaa from comment #1) > What if you use start instead of restart? The situation is similar. In all previous releases of Mageia (always) the host keys were created automatically, directly on the final stage urpmi openssh-server. In this case only creates the files: /etc/ssh/denyusers /etc/ssh/moduli /etc/ssh/sshd_config. Need to run the daemon sshd host keys are not created. You have to manually run something like: ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N " -t rsa ssh-keygen-f /etc/ssh/ssh_host_dsa_key -N " -t dsa, and the like. Keys were created properly earlier, but I think last openssh update broke it as some, but not all, changes were synced from Fedora and they changed how keys are generated. Source RPM:
(none) =>
openssh-7.5p1-1.mga6 Key generation is now fixed in openssh-server-7.5p1-2.mga6. It should be available anytime soon in mirrors. (In reply to Jani Välimaa from comment #4) > Key generation is now fixed in openssh-server-7.5p1-2.mga6. It should be > available anytime soon in mirrors. Well, let's hope for the best. Thanks for the dialogue. I'm closing this as FIXED. Feel free to reopen if needed. Resolution:
(none) =>
FIXED
conor mcgregor
2019-03-29 06:46:10 CET
CC:
(none) =>
akkaran046 |