sudo adduser albi# create new usersudo usermod -aG sudo albi# add user to sudo group- if you got this error
sudo: unable to resolve host localhost.localdomain: Name or service not known - run this
sudo nano /etc/hostsand add127.0.0.1 localhost.localdomain localhost
- if you got this error
sudo mkdir /home/albi/.ssh/# create .ssh directorysudo chmod 0700 /home/albi/.ssh/# change .ssh directory permissionsudo -- sh -c "echo 'YOURSSHKEY' > /home/albi/.ssh/authorized_keys"# create authorized_keys file with public keyPasswordAuthentication nochange in /etc/ssh/sshd_config