SSH: Add global known hosts

This commit is contained in:
Jannik Beyerstedt 2026-04-13 09:58:09 +02:00
parent 7c1d978654
commit 03c99a7b8c
6 changed files with 53 additions and 10 deletions

View file

@ -8,7 +8,7 @@ This role is compatible with Debian based systems, macOS, CentOS (no development
Requirements
------------
Have a user set up on the machine, to which you can connecto via a ssh key.
Have a user set up on the machine, to which you can connect to via a ssh key.
This user must also have sudo right without asking for a password!
(e.g. using `%sudo ALL=(ALL) NOPASSWD:ALL` when editing the sudoers file with `sudo visudo`)
@ -31,6 +31,9 @@ The User Setup will change the user shell and global gitconfig. This can be disa
- `usersetup_virtualenvwrapper`: Boolean to enable the virtualenvwrapper plugin in oh-my-zsh (default: false)
- `usersetup_vimplugins`: Boolean to enable installing my VIM plugins (default: true)
The SSH Setup will add some global known host keys.
Additional keys can be specified by providing a list in `ssh_known_hosts`.
The development environment for different programming languages can be setup automatically.
To enable, that Visual Studio Code will be installed and configured, set `user_vscode` to true, otherwise only the bare development toolchain will be installed.
For a GUI/ Desktop machine, you can enable to install and configure VS Code: