Re: scp problems between Solaris and Tru64

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


Date: Sat, 17 May 2003 23:48:56 +0100

Dave Uhring wrote:
>
> On Sat, 17 May 2003 19:39:41 +0100, Dr. David Kirkby wrote:
>
> > Okay, this seems VERY VERY odd. As suggested, I installed OpenSSH
> > version 3.6p1 on the Dec Alpha - the same as on all my machines,
> > (except the Sun Ultra 80, which has Sun's version based on OpenSSH).
> >
> > I've set up empty passphrases (this is home network, and this system
> > is behind a firewall). I can ssh or sftp, but still I am unable to
> > use scp. But scp works fine to other systems.
> >
> > Here I copy a file from the Sun Ultra 80 (sparrow) running Solaris 9
> > to a Sun SPARCstation 20 (woodpecker) running Solaris 2.5 and OpenSSH
> > 3.6p1.
> >
> > sparrow /export/home/davek % scp foo davek@woodpecker:/tmp
> > foo 100%
> > |*************************************************************************|
> > 27636 00:00
> >
> > (it works to machines running Redhat, Debian, NetBSD too, but the
> > Solaris 2.5 machine is the only one I have online now).
> >
> > Now I try it to the Dec Alpha, running OpenSSH 3.6p1
> >
> > sparrow /export/home/davek % scp foo davek@dobermann:/tmp
> > scp: warning: Executing scp1 compatibility.
> > scp: FATAL: Executing ssh1 in compatibility mode failed (Check that
> > scp1 is in your PATH).
> > lost connection
>
> There is no scp1 in OpenSSH, nor is ther ssh1.

> Remove Ylonen's SSH from the system. Your error messages are inconsistent
> with OpenSSH, probably because Ylonen SSH is ahead of OpenSSH in your
> PATH.

Thanks for your help - I now have it resolved.

Did you mean to remove scp from the Alpha, or the Sun ??

I'm a bit worried about removing the ssh software subset on the Dec
Alpha. I've not owned the Dec long, so are not too hot on Tru64 UNIX
administration. However, if I list the software subsets on the Alpha,
it implies ssh is required. Quite why that would be I don't know, but
it does rather suggest it might break the system if removed.

# setld -i | grep Required
OSFBASE540 installed Base System (- Required -)
OSFHWBASE540 installed Base System - Hardware
Support (- Required -)
OSFOEMBASE540 installed Tru64 UNIX Base System (-
Required -)
OSFSSHBASE540 installed Secure Shell Base
Components (- Required -)

There are 117 software subsets installed, but 4 (one of which is the
ssh) is listed as 'Required'. Hence my reluctance to remove it.

However, I renamed /usr/bin/scp to /usr/bin/scp.orig on the Alpha and
it now works okay!!! So as you thought, scp1 was being found on the
Alpha since it was before OpenSSH scp in my path.

Cheers. I'll leave the rest of the ssh configuration on the Alpha, for
fear of breaking the system.

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


Relevant Pages

  • openssh to openssh scp ssh1 compatibility mode error
    ... i am aware of the ssh1 compatibility mode error problem when using scp ... to transfer files from an openssh client to a commercial ssh server. ...
    (comp.security.ssh)
  • SFTP using a single use key.
    ... Okay, first off, we are using the SSH Communications ... scp of a specific file from the source to the destination (i.e. ... so what I need is the format that the scp command is ... with OpenSSH, but can't get the details down on this one. ...
    (comp.security.ssh)
  • scp problems between Sun and Dec Alpha.
    ... I had some problems with the SSH version in Tru64 ... In the end I installed an OpenSSH server on the Dec ... the Alpha, it can take about a minute using full-duplex 100 Mbit/s ... Moving the same file between the Sun and other machines (IBM RS/6000, ...
    (comp.unix.tru64)
  • scp problems between Sun and Dec Alpha.
    ... I had some problems with the SSH version in Tru64 ... In the end I installed an OpenSSH server on the Dec ... the Alpha, it can take about a minute using full-duplex 100 Mbit/s ... Moving the same file between the Sun and other machines (IBM RS/6000, ...
    (Tru64-UNIX-Managers)
  • SUMMARY: Problems with scp between Solaris and Tru64
    ... The problem where I could securely copy files from a Sun to just about ... Several people on newsgroups suggested that I removed the ssh from the ... Dec Alpha and replaced it by OpenSSH. ...
    (Tru64-UNIX-Managers)