Re: Is this expected ssh behavior?
On Thu, 30 Jul 1998, Brandon Mitchell wrote:
> > I do set the path, but it doesn't look like it is being run. (Other
> > statements should print to the screen as an earlier example you ran
> > showed.) "ssh hostname" does execute .bash_profile.
> Ok, let's focus on this. Anyone have a good idea as to why bash doesn't
> read it's .bash_profile when ssh is given the -t switch and bash is given
> the -login switch? I'm stumped.
[ Submitting bug report, watch cc's when replying. ]
Dang, it does look like it's a debian problem. I'm guessing it's a
problem with bash only taking the first arguement after -c and not
handling the --login switch appropriately when -c is given. Here's an
example of the bug:
bhmit1@hobbes(p1):bhmit1$ bash -c echo hello world
Brandon Mitchell <firstname.lastname@example.org> | Debian Testing Group Status
PGP Key: finger -l email@example.com | http://bhmit1.home.ml.org/deb/
Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)
Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null