We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7885909 commit 3f2f7e5Copy full SHA for 3f2f7e5
1 file changed
recipes/zquick_sshd/setup.sh
@@ -46,7 +46,7 @@ fi
46
47
count=
48
if [[ -d "${zquickinit_config}/etc/ssh" ]]; then
49
- count=$(find "${zquickinit_config}"/etc/ssh/ssh_host* | wc -l)
+ count=$(find "${zquickinit_config}"/etc/ssh/ -name ssh_host* | wc -l)
50
fi
51
if ((count > 0)); then
52
if confirm --default="no" "Found existing sshd host keys in ${zquickinit_config}/etc/ssh. Overwrite with autogenerated sshd keys?"; then
0 commit comments