ssh: hosts
xprofile: move environment setup to the top
xprofile: re-add session stuff