adding missing .ssh directory creation

in some cases the .ssh directory may not exist, so create the directory if it does not exist.