Re: OpenSSH to SSH2 scp.
From: Simon G (simon_greig_at_nospam.com)
Date: 05/01/03
- Previous message: Matt: "SSH on AIX problem"
- In reply to: Greg Bailey: "OpenSSH to SSH2 scp."
- Next in thread: Darren Tucker: "Re: OpenSSH to SSH2 scp."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 1 May 2003 09:14:11 +0100
Greg,
When checking the path on the remote host are you checking it under the user
that is running the sshd2 process rather than the user you log in as? i.e.
root
-- Simon G UK "Greg Bailey" <gbailey@uk.ibm.com> wrote in message news:b8opir$pje$1@sp15at20.hursley.ibm.com... > Hi, > > I'm trying to scp a file from a local AIX box running OpenSSH to a remote > linux server running (I think) SSH2. I've got authentication working quite > happily using ssh2 DSA keys and can ssh onto the remote server. However when > I try to scp a file onto the remote server, I get an error message (extract > below). I've looked on the web and have found frequent mention of this > problem, with the solution being to ensure that a copy of scp1 is in the > path. However, as far as I can tell, it is. Are there any other reasons I > could be getting this error message? > > remote_host:~$ whereis scp1 > scp1: /usr/local/bin/scp1 > remote_host:~$ ls -l /usr/local/bin/scp1 > -rwxr-xr-x 1 root root 116017 Jul 19 2002 /usr/local/bin/scp1 > remote_host:~$ file /usr/local/bin/scp1 > /usr/local/bin/scp1: ELF 32-bit LSB executable, Intel 80386, version 1, > dynamically linked (uses shared libs), not stripped > > Kind regards > Greg > > Error message: > -------------------------------------------------------------------------- -- > ---------- > debug1: Sending command: scp -v -t /home/ibmcomp/. > debug1: channel 0: open confirm rwindow 100000 rmax 32768 > scp: warning: Executing scp1 compatibility. > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > debug1: channel 0: rcvd close > debug1: channel 0: output open -> drain > debug1: channel 0: input open -> closed > debug1: channel 0: close_read > debug1: channel 0: obuf empty > debug1: channel 0: output drain -> closed > debug1: channel 0: close_write > scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is > in your PATH). > debug1: channel 0: almost dead > debug1: channel 0: gc: notify user > debug1: channel 0: gc: user detached > debug1: channel 0: send close > debug1: channel 0: is dead > debug1: channel 0: garbage collecting > debug1: channel_free: channel 0: client-session, nchannels 1 > -------------------------------------------------------------------------- -- > -------------- > >
- Previous message: Matt: "SSH on AIX problem"
- In reply to: Greg Bailey: "OpenSSH to SSH2 scp."
- Next in thread: Darren Tucker: "Re: OpenSSH to SSH2 scp."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|