[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is this expected ssh behavior?



On Thu, Jul 30, 1998 at 12:41:21PM -0400, Brandon Mitchell wrote:
> On Thu, 30 Jul 1998, Lee Bradshaw wrote:
> 
> > On Thu, Jul 30, 1998 at 12:12:36PM +0200, Remco van de Meent wrote:
> > > On 29 Jul 1998, Rob Browning wrote:
> > > 
> > >  :   $ ssh somehost bash -c xlock
> > >  : 
> > >  : but no luck...
> > > 
> > > Does 'ssh somehost bash --login -c xlock' give better results?
> > 
> > No.
> > 
> > $ ssh freefall bash --login -c xclock
> > bash: xclock: command not found
> 
> It works here:
> 
> mitchell@gtesun:mitchell$ ssh bhmit1@tx.cs.wm.edu bash -login -c xclock
> No New Announcements
> Waiting for forwarded connections to terminate...
> The following connections are open:
>   X11 connection from tx port 7454
> 
> What is the difference between your .bashrc and your .bash_profile.  I
> usually try to make mine symlinks to each other.

Thanks Brandon, but that didn't work. Did Rob (who originally reported the
problem) find a solution?

freefall ~ $ ssh freefall bash -login -c xclock
bash: xclock: command not found

freefall ~ $ cat ~/.bash_profile
source ~/.bashrc

freefall ~ $ mv .bash_profile .bash_profile.old
freefall ~ $ ln -s .bashrc .bash_profile     
freefall ~ $ ssh freefall bash -login -c xclock
bash: xclock: command not found


-- 
Lee Bradshaw                 lee@sectionIV.com (preferred)
Alantro Communications       lee@alantro.com


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: