From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e98dc3955520ac7a X-Google-Attributes: gidfa528,public X-Google-Thread: 1070f0,e98dc3955520ac7a X-Google-Attributes: gid1070f0,public X-Google-Thread: 109d1b,e98dc3955520ac7a X-Google-Attributes: gid109d1b,public X-Google-ArrivalTime: 2003-05-20 00:38:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Message-ID: <3EC9DB6C.C1EE61FC@ntlworld.com> From: "Dr. David Kirkby" X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.sun.admin,comp.unix.tru64,comp.security.ssh Subject: Re: scp problems between Solaris and Tru64 References: <3EC598B9.EB6BEC4E@ntlworld.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Tue, 20 May 2003 08:38:20 +0100 NNTP-Posting-Host: 62.255.96.61 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1053416302 62.255.96.61 (Tue, 20 May 2003 08:38:22 BST) NNTP-Posting-Date: Tue, 20 May 2003 08:38:22 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.sys.sun.admin:39911 comp.unix.tru64:9947 comp.security.ssh:16615 gerryt@gtconnect.net wrote: > > In article <3EC598B9.EB6BEC4E@ntlworld.com>, > "Dr. David Kirkby" 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