I'm using hss to connect to 3 Ubuntu servers (the same edition). The problem is on 2 of them ~/.bash_profile is not read over hss, even though it is being read when I ssh in individually to each.
$ env | grep -w PATH
[O] root@example-sql -> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[O] root@example-www -> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[O] root@example-search -> PATH=.:/root/bin:/usr/local/node/bin:...
example-search does read .bash_profile apparently, because there are additional directories that I added to PATH, like /root/bin, etc. The first two, however, do not seem to.
Why is that happening? How can I fix that (I want PATH the way I defined it, obviously).
I'm getting the same effect on another group (Debian 8 servers).
I'm using
hssto connect to 3 Ubuntu servers (the same edition). The problem is on 2 of them~/.bash_profileis not read overhss, even though it is being read when I ssh in individually to each.example-searchdoes read.bash_profileapparently, because there are additional directories that I added toPATH, like/root/bin, etc. The first two, however, do not seem to.Why is that happening? How can I fix that (I want
PATHthe way I defined it, obviously).I'm getting the same effect on another group (Debian 8 servers).