Alan L Tyree was once rumoured to have said:
> Hi,
> I've just installed ssh to replace telnet commands to another machine.
> 
> ssh works OK, but scp gives me an error. A command like
> 
> scp test.txt [EMAIL PROTECTED]:./
> 
> brings up
> 
> [EMAIL PROTECTED]'s password: 
> 
> I type in the password and then get:
> 
> bash: scp: command not found
> lost connection

This is caused by the scp binary not being in the default path on the
remote host.  This is also a bitch to fix.

Usual method is to add the path to /etc/environment, which works on
some SysV-ish systems [most notably Irix and Linux]

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to