From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1070f0,e98dc3955520ac7a X-Google-Attributes: gid1070f0,public X-Google-Thread: 109d1b,e98dc3955520ac7a X-Google-Attributes: gid109d1b,public X-Google-Thread: fa528,e98dc3955520ac7a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-05-23 03:46:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Message-ID: <3ECDFC10.214E93C4@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> <3EC9DB6C.C1EE61FC@ntlworld.com> <3ec9f411$0$49103$e4fe514c@news.xs4all.nl> <3ECB2B25.6E4739BB@ntlworld.com> <3ECD3B7C.60508@verizon.net> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Fri, 23 May 2003 11:46:40 +0100 NNTP-Posting-Host: 62.255.96.30 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1053686802 62.255.96.30 (Fri, 23 May 2003 11:46:42 BST) NNTP-Posting-Date: Fri, 23 May 2003 11:46:42 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.sys.sun.admin:39978 comp.unix.tru64:9964 comp.security.ssh:16671 Nico Kadel-Garcia wrote: > > gerryt@gtconnect.net wrote: > > In article <3ECB2B25.6E4739BB@ntlworld.com>, > > "Dr. David Kirkby" writes: > > > >>"Casper H.S. Dik" wrote: > >> > >> > >>>>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 > >> > >>>I believe this message originates from the remote end. > >> > >>Yes, I've come to that conclusion too. But is my local Sun requesting > >>protocol 1 - and if so why? > > > > > > Maybe a version issue. Try using ssh instead (which you say does work > > in a previous post): > > > > There may also be multiple ssh and sshd daemons installed, along with > some potentially odd settings in the config files for the sshd. I'd > suspect the sshd operating on the target host is actually not the later > installed OpenSSH version. If it's ssh-2.x from ssh.com, then it *will > not operate* in ssh1 mode unless the ssh-1.x is pre-installed *before* > ssh-2.x compilation. This bit of nastiness is why the OpenSSH with a > single dual-protocol client and daemon is so much more supportable. This was pretty much a fresh install of Tru64 UNIX. I'd added a couple of files to /usr/local and set up a user account, but apart from that, there was no other software added, or major configuration changes and nothing related to ssh. > Tell your ssh client to use SSH-2 by saying ssh -o 'Protocol 2'" and see > what happens. And you need to make the *client* use protocol 2, not just > the server. Well, I've given up now on dobermann (the Tru64 UNIX box) and installed OpenSSH there, so its a bit late to do some more testing - I am not going to go back and re-enable the original ssh stuff on the Tru64 box. However, the following 4 tests seem to indicate the Sun is quite capable of running ssh protocol 2 or scp Protocol 2 and unwilling to run protocol 1. (sparrow is the Sun with Solaris 9; dobermann De Alpha running Tru64) sparrow /export/home/davek % ssh -o 'Protocol 1' dobermann Protocol major versions differ: 1 vs. 2 sparrow /export/home/davek % ssh -o 'Protocol 2' dobermann Last login: Fri May 23 11:33:21 BST 2003 from sparrow Compaq Tru64 UNIX V5.1B (Rev. 2650); Fri May 2 21:42:35 BST 2003 $ sparrow /export/home/davek % scp -o 'Protocol 1' foo davek@dobermann:\tmp Protocol major versions differ: 1 vs. 2 lost connection sparrow /export/home/davek % scp -o 'Protocol 2' foo davek@dobermann:\tmp foo 100% |*****************************| 27636 00:00 I've made no changes to the Sun, only on Dobermann where I've installed OpenSSH. Now things seem to work fine, so I'm leaving well alone. It's possible I might run into problems on the Tru64 box if I had a cluster, as the SSH is a required piece of softare and should not be removed. But I don't have a license for the clustering software and only one Dec Alpha anyway, so that's not an issue for me. However, this issue would perhaps bother someone in a large corporate enviroment with a Tru64 cluster. -- 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