Re: scp problems between Solaris and Tru64

From: Dr. David Kirkby (drkirkby_at_ntlworld.com)
Date: 05/20/03


Date: Tue, 20 May 2003 08:38:20 +0100

gerryt@gtconnect.net wrote:
>
> In article <3EC598B9.EB6BEC4E@ntlworld.com>,
> "Dr. David Kirkby" <drkirkby@ntlworld.com> writes:
> > I've a Sun Ultra 80 running Solaris 9 and a Dec Alpha running Tru64
> > UNIX V5.1B. I'd like to securely copy a file from the Sun to the Dec
> > Alpha.
> >
> > Attempting to connect to the Dec Alpha (dobermann) from the Sun
> > (sparrow) using secure shell (ssh) works fine, using
> > public-key/private-key. Attempting to transfer a file via sftp works
> > fine too. But if I try to copy a file to the Dec Alpha using scp, it
> > fails to work. It seems odd that ssh and sftp work, but not scp.
> >
> > sparrow % scp -v atlc-4.3.0.tar.gz davek@dobermann:/tmp
> > Executing: program /usr/bin/ssh host dobermann, user davek, command
> > scp -v -t /tmp
> > scp: warning: Executing scp1 compatibility.
> > scp: FATAL: Executing ssh1 in compatibility mode failed (Check that
> > scp1 is in your PATH).
> > lost connection
> >
> > (in each case, the secure xxx files are all Sun originals in /usr/bin.
> > )
>
> Hmm - Try: gunzip -c atlc-4.3.0.tar.gz|ssh -v dobermann "cd /tmp;tar xf -"
> IOW use ssh
> I think something is misconfigured

The method I on the Sun Ultra 80 running Solaris - namely:

scp -v atlc-4.3.0.tar.gz davek@dobermann:/tmp

works fine to copy files to:

a) Sun SPARCstation 20's running Solaris 2.5, Debian, Redhat, NetBSD
and OpenBSD
b) PCs running Solaris 7 and Redhat.
c) Whatever the SouceForge site uses for their servers, since I copy
files to them using scp in the way I showed.
d) The Sun server at work, which runs SSH Secure Shell 3.1.0 from
www.ssh.com. In this case I needed to convert the keys to a suitable
format, but it does work.

I note that for case (d), the Sun does print a warning about using
scp1 compatability.

sparrow /export/home/davek % scp foo davek@duke:/tmp
scp: warning: Executing scp1 compatibility.
foo 100% |*****************************| 27636
00:00

I don't doubt something is mis-configured (I'd like to know what), but
do believe the way I was using scp is basically okay.

-- 
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail davek@medphys.ucl.ac.uk

Quantcast