Skip to main content

SSH

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

  • Port angepasst
  • PermitRootLoginprohibit-password
  • PubkeyAuthentication yes
  • AuthorizedKeysFile .ssh/authorized_keys
  • PasswordAuthenticationno
  • PermitEmptyPasswords  → yes

Schlüssel in .ssh/authorized_keys ablegen

LUKS per SSH entschlüsseln

https://www.eugenemdavis.com/how-remotely-decrypt-luks-encypted-partition-over-ssh.html

https://unix.stackexchange.com/questions/411945/luks-ssh-unlock-strange-behaviour-invalid-authorized-keys-file#412152