# SSH

Folgende Anpassungen habe ich an `/etc/ssh/sshd_config` vorgenommen

- `Port` angepasst
- `PermitRootLogin` → `prohibit-password`
- `PubkeyAuthentication yes`
- `AuthorizedKeysFile .ssh/authorized_keys`
- `PasswordAuthentication` → `no`
- `PermitEmptyPasswords` → `yes`

Schlüssel in `.ssh/authorized_keys` ablegen

### LUKS per SSH entschlüsseln

[https://neilzone.co.uk/2021/06/unlocking-a-luks-encrypted-partition-via-ssh-on-debian-10](https://neilzone.co.uk/2021/06/unlocking-a-luks-encrypted-partition-via-ssh-on-debian-10)