Actions
Bug #11786
openSSH incomplete setup and startup fail while recovering XML backup in a fresh install of pfSense 2.5.0
Status:
New
Priority:
Normal
Assignee:
-
Category:
Services
Target version:
-
Start date:
04/06/2021
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:
amd64
Description
Recovering a XML exported with RDD data and extra package data (about 8,2MB of data) causes SSH service configuration to hang, and service startup impossible.
Executing the commands above in <S>hell command and in <P>HP commands (Diagnostics / Command Prompt), in the order as file /etc/sshd, resolves the issue. It seems like /etc/sshd execution hangs at mark_subsystem_dirty('sshdkeys') call.
<S> /usr/bin/nice -n20 /usr/bin/ssh-keygen -t rsa -b 4096 -N '' -f /etc/ssh/ssh_host_rsa_key
<S> /usr/bin/nice -n20 /usr/bin/ssh-keygen -t rsa -b 4096 -N '' -f /etc/ssh/ssh_host_ed25519_key
<P> clear_subsystem_dirty('sshdkeys');
<P> mwexec("/usr/sbin/sshd");
Actions