Create ssh key for user

This commit is contained in:
Marcus Kammer 2023-10-31 15:12:14 +01:00
parent a6ab845f86
commit 6656dff88c
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -387,3 +387,4 @@ runcmd:
# Restart the SSH server to apply the new configuration
- systemctl restart sshd
- sudo -u marcus /bin/bash /home/marcus/setup_user_all.sh
- sudo -u marcus ssh-keygen -t ed25519 -C "u1.metalisp" -f ~/.ssh/id_ed25519 -N ""