~#sudo adduser gitdeployer info: Adding user `gitdeployer' ... info: Selecting UID/GID from range 1000 to 59999 ... info: Adding new group `gitdeployer' (1000) ... info: Adding new user `gitdeployer' (1000) with group `gitdeployer (1000)' ... info: Creating home directory `/home/gitdeployer' ... info: Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for gitdeployer Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y
~$ ssh-keygen -t ed25519 -C "git-deployer-key" -f ~/.ssh/git_deployer Generating public/private ed25519 key pair. Created directory '/home/gitdeployer/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/gitdeployer/.ssh/git_deployer Your public key has been saved in /home/gitdeployer/.ssh/git_deployer.pub The key fingerprint is: SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx git-deployer-key The key's randomart image is: +--[ED25519 256]--+ | | | | | | | | | | | | | | | | | | +----[SHA256]-----+