131 reputation
115
bio website eli.thegreenplace.net
location Santa Clara, CA
age 34
visits member for 4 years, 8 months
seen Sep 9 at 13:08

Sep
3
awarded  Famous Question
Jun
7
awarded  Notable Question
Oct
12
awarded  Popular Question
Apr
11
awarded  Student
Apr
9
awarded  Editor
Apr
9
revised (svn+ssh) getting bash to load my PATH over SSH
edited title
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
Thanks. Unfortunately since this is a shared server I have no access to /etc/ssh/sshd_config. But from tests I ran it appears this variable indeed isn't set, because ssh ignores my environment file for sure
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
@Dennis, yes, this is as I would expect. However, in my case I clearly see that .bashrc is NOT being loaded. Moreover, ~/.ssh/environment is ignored. I can conclude that Bluehost (my server provider) configured it this way, which is very unfortunate. P.S. the line with BASH_ENV doesn't work for me
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
after adding a semicolon before which, it says: which: no svnserve in (/usr/bin:/bin)
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
@lsc: this explains the "echo $PATH" mystery, thanks
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
Thanks, this makes sense. Unfortunately it still doesn't resolve my original problem which is running svnserve via SSH. for some reason ssh ignores my .ssh/environemnt file and every other attempt I try
Apr
9
comment (svn+ssh) getting bash to load my PATH over SSH
Sorry, but I noted that .ssh/environment didn't work for me. Any tips of what to write there? Also, I was under the impression that .bashrc is included in non-interactive shells. Otherwise, how is my PATH given correctly via ssh? (echo $PATH)?
Apr
9
awarded  Supporter
Apr
9
asked (svn+ssh) getting bash to load my PATH over SSH
Apr
9
awarded  Autobiographer