misnamed temp directory

This commit is contained in:
2025-05-03 22:23:56 -05:00
parent 43a27ab3ba
commit 00c5b6d15c
+1 -1
View File
@@ -124,7 +124,7 @@ if [ -z "$target_hostname" ] || [ -z "$target_destination" ]; then
fi fi
# Create the directory where sshd expects to find the host keys # Create the directory where sshd expects to find the host keys
install -d -m755 "$tempSSH/persist/etc/ssh" install -d -m755 "$temp/persist/etc/ssh"
# Generate private key and copy it to the temporary directory # Generate private key and copy it to the temporary directory
ssh-keygen -t ed25519 -f "$temp/$persist_dir/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N "" ssh-keygen -t ed25519 -f "$temp/$persist_dir/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N ""