On the remote machine:

bash-2.03$ type scp
scp is /usr/local/bin/scp
bash-2.03$ type ssh
ssh is /usr/local/bin/ssh

Remote machine is:

bash-2.03$ uname -a
SunOS janus 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-250

It doesn't have a /etc/environment file (not that I could change it
anyway).



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

-- 
------------------------------------------------------
Alan L Tyree    [EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 419 638 170
Fax: +61 2 4782 7092

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

Reply via email to