[ILUG] SCP confusion

Chris Higgins <chris.higgins> chris.higgins at horizon.ie
Thu May 31 16:34:35 IST 2001


> 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            **






More information about the ILUG mailing list