Ensure a .ssh directory is created with the right mode.