Generalized to ssh and ssh-cluster; write environmental variable in correct form
Changed layouts slightly, beautified form