Actions
Bug #12637
closedIncorrect SSH key permission after restore
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
22.01
Release Notes:
Force Exclusion
Affected Version:
2.6.0
Affected Architecture:
Description
restore_sshdata() must set 600 permission mode for *_key files:
sshd[19401]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ sshd[19401]: error: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ sshd[19401]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ sshd[19401]: error: Permissions 0644 for '/etc/ssh/ssh_host_rsa_key' are too open. sshd[19401]: error: It is required that your private key files are NOT accessible by others. sshd[19401]: error: This private key will be ignored. sshd[19401]: error: Error loading host key "/etc/ssh/ssh_host_rsa_key": bad permissions sshd[19401]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Related issues
Actions