I noticed the “rootssh” shell script (from ROOT 6.30.06) misbehaves on different systems.
Below you can find a version that works fine (note: after downloading, “mv rootssh.txt rootssh” and “chmod a+rx rootssh”).
rootssh.txt (5.4 KB)
May be you can create a PR with this new version ?