Re: [ILUG] SCP confusion

From: Chris Higgins (chris.higgins at domain horizon.ie)
Date: Thu 31 May 2001 - 16:34:35 IST


> On Thu, May 31, 2001 at 03:17:11PM +0100, Brendan Halpin wrote:
>
> > How do I control the remote path from scp's point of view? The path
> > I have in the shell (on the remote machine) sees scp but there
> > seems to be no scp1 anywhere. The ssh binary is in the same place
> > as scp, so it seems to be found...
>
> The ssh binary doesn't need to be found when you ssh in, and your path when
> you ssh in and get a shell is not necessarily the same as when you do an
> scp. Try doing
>
> ssh remote_box type scp

type scp ?

Huh ?

Wassa this 'type' command ?

Surely it's

ssh remote_box which scp

Or is there black magic going on there ?

AHHHH ! Found it - bash shell specific command..

Right - back to the caffine - ignore my ramblings...

Non tcsh compliant garbage... grumble - mumble..

Sheesh - what is the world coming to.

-- 
** Chris Higgins                         e: chris.higgins at horizon.ie **
** Technical Business Development        tel: +353-1-6204916            **
** Horizon Technology Group              fax: +353-1-6204949            **


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:32 GMT