We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3bafef commit c98d373Copy full SHA for c98d373
1 file changed
secureadmin.sh
@@ -364,14 +364,14 @@ user_key_menu() {
364
if user_exists "$ssh_user"; then
365
run_command mkdir -p "$ssh_dir"
366
run_command ssh-keygen -t ed25519 -C "$ssh_user"
367
- run_command mv "$ssh_dir/id_rsa.pub" "$ssh_dir/authorized_keys"
+ run_command mv "$ssh_dir/id_ed25519.pub" "$ssh_dir/authorized_keys"
368
clear
369
displayuser
370
echo
371
echo " Private key of > "$ssh_user" <"
372
echo "=========================================================================="
373
374
- run_command cat "$ssh_dir/ed25519"
+ run_command cat "$ssh_dir/id_ed25519"
375
376
377
read -p "Press Enter to return to the menu."
0 commit comments