From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Darryl Cook Newsgroups: gmane.os.tru64.managers,gmane.network.openssh.general Subject: SUMMARY: scp problems Date: Wed, 08 Oct 2003 08:37:30 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3F84050A.5090805@cs.appstate.edu> References: <3F7C71AF.5010406@cs.appstate.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065617093 11314 80.91.224.253 (8 Oct 2003 12:44:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2003 12:44:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Oct 08 14:44:51 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1A7DgR-0002vZ-00 for ; Wed, 08 Oct 2003 14:44:51 +0200 Original-Received: (qmail 2379 invoked by uid 5); 8 Oct 2003 12:44:41 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2364 invoked by uid 49493); 8 Oct 2003 12:44:40 -0000 Original-Received: from dlc@cs.appstate.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-6.5/5.0):. Processed in 1.038346 secs); 08 Oct 2003 12:44:40 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 8 Oct 2003 12:44:39 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMF00D0GVEECB@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Oct 2003 08:44:38 -0400 (EDT) Original-Received: from mta2.appstate.edu (mta2.appstate.edu [152.10.1.151]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HMF00JGAVDO5Q@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Oct 2003 08:44:13 -0400 (EDT) Original-Received: from cs.cs.appstate.edu (cs.cs.appstate.edu [152.10.143.13]) by mta2.appstate.edu (8.12.8/8.12.8) with ESMTP id h98CbVSH030547; Wed, 08 Oct 2003 08:37:31 -0400 Original-Received: from cs.appstate.edu (cookdl-0.cs.appstate.edu [152.10.134.74]) by cs.cs.appstate.edu (8.12.10/8.12.10) with ESMTP id h98CbTAC292244; Wed, 08 Oct 2003 08:37:29 -0400 (EDT) In-reply-to: <3F7C71AF.5010406@cs.appstate.edu> Original-To: Tru64 Mailing List , ssh X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-MailScanner-Information: Please contact the Helpdesk @ 6266 for more information X-MailScanner-ASU-mta2: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 7) Xref: main.gmane.org gmane.os.tru64.managers:5526 gmane.network.openssh.general:3421 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5526 Thanks to all those who offered suggestions.....ultimately I tracked down the problem with the help of a local networking associate Oscar Knight. The problem was that a gcc library was missing. I happened to walk by the console and there on the console messages was a message stating a problem with scp and a missing library. So i went looking for the library and lo and behold it was in the src area but not in the /usr/local/lib area. Once I reinstalled it everything began working fine again. thanks! darryl Darryl Cook wrote: > I recently upgraded openssh to 3.7.1p2 and lost scp capability. I am > able to ssh in using protocol 2 just fine but when I run scp it > attempts to make a connection and then gives me the message connection> and drops me out without transferring the files. > > I have run both sshd and scp in debug mode and everything looks fine. > I looked at the log files and it says I was authenticicated fine. Ive > tried using key and forcing it to ask me for a password and get the > same result. Im running Tru64 versions 5.1b and a second machine > runs 4.0f, both get the same results. Below is the output from a > run..... > > Executing: program /usr/local/bin/ssh host sc.cs, user (unspecified), > command scp -v -t /u/csd/dlc/temp > OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003 > debug1: Reading configuration data /usr/local/etc/ssh_config > > debug1: Connecting to sc.cs [152.10.143.14] port 22. > > debug1: Connection established. > > debug1: identity file /u/csd/dlc/.ssh/identity type -1 > > debug1: identity file /u/csd/dlc/.ssh/id_dsa type -1 > > debug1: identity file /u/csd/dlc/.ssh/id_rsa type 1 > > debug1: Remote protocol version 1.99, remote software version > OpenSSH_3.7.1p2 > > debug1: match: OpenSSH_3.7.1p2 pat OpenSSH* > > debug1: Enabling compatibility mode for protocol 2.0 > > debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2 > > debug1: SSH2_MSG_KEXINIT sent > > debug1: SSH2_MSG_KEXINIT received > > debug1: kex: server->client aes128-cbc hmac-md5 none > > debug1: kex: client->server aes128-cbc hmac-md5 none > > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent > > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > > debug1: Host 'sc.cs' is known and matches the RSA host key. > > debug1: Found key in /u/csd/dlc/.ssh/known_hosts:32 > > debug1: ssh_rsa_verify: signature correct > > debug1: SSH2_MSG_NEWKEYS sent > > debug1: expecting SSH2_MSG_NEWKEYS > > debug1: SSH2_MSG_NEWKEYS received > > debug1: SSH2_MSG_SERVICE_REQUEST sent > > debug1: SSH2_MSG_SERVICE_ACCEPT received > > debug1: Authentications that can continue: publickey,password,hostbased > > debug1: Next authentication method: publickey > > debug1: Trying private key: /u/csd/dlc/.ssh/identity > > debug1: Trying private key: /u/csd/dlc/.ssh/id_dsa > > debug1: Offering public key: /u/csd/dlc/.ssh/id_rsa > > debug1: Server accepts key: pkalg ssh-rsa blen 149 > > debug1: read PEM private key done: type RSA > > debug1: Authentication succeeded (publickey). > > debug1: channel 0: new [client-session] > > debug1: Entering interactive session. > > debug1: Sending command: scp -v -t /u/csd/dlc/temp > > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > > debug1: channel 0: free: client-session, nchannels 1 > > debug1: fd 0 clearing O_NONBLOCK > > debug1: fd 1 clearing O_NONBLOCK > > debug1: fd 2 clearing O_NONBLOCK > > debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.4 seconds > > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 > > debug1: Exit status 1 > > lost connection > > > any help appreciated, > > darryl >