Hacks

That! SSH permission denied on eCryptfs-enabled file system

On the day my DeskMini Headless server was born - it was christened with ecryptfs and I did that on purpose - paranoid! Gearing up for a password-less configuration was supposedly and easy task later then I realised that my first SSH session won’t work. This is for obvious reason: the home folder ~/ isn’t readable - yet - not until you manually mount the folder. By default SSH will look for authorized_keys file at the user’s home folder henced SSH can’t read it - you’ll get Permission denied (publickey).
Read more