sshd modes

This commit is contained in:
Thomas Maurice 2023-12-06 20:56:10 +01:00
parent e3cb0c4f9c
commit 9dc88072d5
Signed by: thomas
GPG key ID: 1D577F50583032A6

View file

@ -99,7 +99,7 @@ $ sudo apt install -y sshpass
$ ansible-playbook -vi inventory -k -l all playbooks/base.yml $ ansible-playbook -vi inventory -k -l all playbooks/base.yml
``` ```
If that does not work, add it to the `~/.ssh/authorized_keys` in the `root` home folder on every one of your virtual machines. If that does not work, add it to the `~/.ssh/authorized_keys` in the `root` home folder on every one of your virtual machines, make sure the `authorized_keys` file has `600` permissions. If the permissions are too wide then sshd will refuse to use it.
While you are at it I would recommend you install docker as well using the `docker.yml` playbook While you are at it I would recommend you install docker as well using the `docker.yml` playbook