fixed ssh directory disruption. Added emacs stuff