ensure ~/.ssh exists before trying to write env file there