--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /usr/bin/scp: scp seems incompatible with version 1 ssh
- From: Jasen Betts <jasen@free.net.nz>
- Date: Fri, 09 Feb 2007 22:37:01 +1300
- Message-id: <E1HFSBh-0005rV-PA@jasen.is-a-geek.org>
Package: ssh
Version: 1:3.8.1p1-8.sarge.6
Severity: normal
File: /usr/bin/scp
scp from one system to another on the LAN
fails to transfer files.
remote version: Version: 1:3.4p1-1.woody.3
jasen@gonzo:/tmp$ scp junker:twmrc.j .
jasen@junker's password:
protocol error: unexpected <newline>
jasen@gonzo:/tmp$
--------------------- log follows --------------------
Executing: program /usr/bin/ssh host junker, user jasen, command scp -v -f twmrc.j
OpenSSH_3.8.1p1 Debian-8.sarge.6, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /home/jasen/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to junker [192.168.1.11] port 22.
debug1: Connection established.
debug1: identity file /home/jasen/.ssh/identity type -1
debug1: identity file /home/jasen/.ssh/id_rsa type 1
debug1: identity file /home/jasen/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3
debug1: match: OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.6
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(1024<1024<8192) 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 'junker' is known and matches the RSA host key.
debug1: Found key in /home/jasen/.ssh/known_hosts:17
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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/jasen/.ssh/identity
debug1: Offering public key: /home/jasen/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Offering public key: /home/jasen/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -f twmrc.j
protocol error: unexpected <newline>
Sending file modes: C0644 2494 twmrc.j
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.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2JB1
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)
Versions of packages ssh depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.13 Debian configuration management sy
ii dpkg 1.10.28 Package maintenance system for Deb
ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7e-3sarge4 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- debconf information:
ssh/insecure_rshd:
ssh/user_environment_tell:
* ssh/forward_warning:
* ssh/insecure_telnetd:
ssh/new_config: true
* ssh/use_old_init_script: true
* ssh/SUID_client: true
ssh/disable_cr_auth: false
ssh/ssh2_keys_merged:
ssh/protocol2_only: true
ssh/encrypted_host_key_but_no_keygen:
* ssh/run_sshd: true
--- End Message ---
--- Begin Message ---
On Tue, Dec 25, 2007 at 09:56:38PM +1300, Jasen Betts wrote:
> On Mon, Dec 24, 2007 at 10:18:44PM +0000, Colin Watson wrote:
> > On Fri, Feb 09, 2007 at 10:37:01PM +1300, Jasen Betts wrote:
> > > scp from one system to another on the LAN
> > > fails to transfer files.
> > >
> > > remote version: Version: 1:3.4p1-1.woody.3
> > >
> > > jasen@gonzo:/tmp$ scp junker:twmrc.j .
> > > jasen@junker's password:
> > > protocol error: unexpected <newline>
> > > jasen@gonzo:/tmp$
> >
> > Is it possible that you're running into the situation described in this
> > OpenSSH FAQ entry?
> >
> > 2.9 - sftp/scp fails at connection, but ssh is OK.
>
> That could be it, I no longer have that machine in an operating state to
> confirm it. you'd better close this bug. chalk another one up for
> PEBKAC :-)
OK, closing with this message.
Merry Christmas,
--
Colin Watson [cjwatson@debian.org]
--- End Message ---