Commit 35b83ba6 authored by julian.gethmann's avatar julian.gethmann

Fix/improve SSHd-bootstrapping

parent ca40071f
......@@ -92,7 +92,9 @@ Be aware that the development branches here are not save and the owner might for
## Bootstraping
* Enable SSH on the new host (`lasXXX$ sudo systemctl start sshd && sudo systemctl enable sshd`)
* Add your SSH-key to the host `obelix# ssh-copy-id lasXXX.las.kit.edu`
* Install ansible dependencies: `lasXXX$ sudo dnf install ansible git python3-dnf libselinux-python python3-netaddr`
* Probably you have to copy it by hand (copy the content of your key e.g. `~/.ssh/id_rsa.pub` to the new computer root's `~/.ssh/authorized_keys` file and set the access rights to 600)
* and enable Key-based root login. (in `/etc/ssh/sshd_config` write `PermitRootLogin without-password`)
* Install ansible dependencies: `lasXXX$ sudo dnf install sudo ansible git python3-dnf libselinux-python python3-netaddr`
* Check the `hosts` file for entries of `lasXXX.las.kit.edu`
* Run `ansible-playbook -K --vault-id @prompt sites.yml` probably with the option `-l lasXXX.las.kit.edu`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment