--=-dUckY2kyZAWbfi0lEpBN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I don't know where to send this question so I send it here. Let me know
if there's a more appropriate place for this. Thanks in advance.

When I try to perform an scp operation, I sometimes get the following
output, a series of equal (=3D) signs, and the command returns, without
any error message. The file is not copied. I don't get the problem on
every host in my system, nor do I get it in both directions. Performing
the scp operation from the target host usually fixes the problem.

gnome@build:~/trans$ scp wreck.txt localhost:./test.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D
gnome@build:~/trans$


Can anyone shed on what's happening, and How I can fix it?

Verbose output:
gnome@build:~/trans$ scp -v wreck.txt localhost:./test.txt
Executing: program /usr/bin/ssh host localhost, user (unspecified),
command scp -v -t ./test.txt
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/gnome/.ssh/id_rsa type 1
debug1: identity file /home/gnome/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
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 'localhost' is known and matches the RSA host key.
debug1: Found key in /home/gnome/.ssh/known_hosts:156
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: Offering public key: /home/gnome/.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 ./test.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D
gnome@build:~/trans$ 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: 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 0

Strace output:
gnome@build:~/trans$ strace scp wreck.txt localhost:./test.txt
execve("/usr/bin/scp", ["scp", "wreck.txt", "localhost:./test.txt"], [/*
23 vars */]) =3D 0
uname({sys=3D"Linux", node=3D"build", ...}) =3D 0
brk(0) =3D 0x8051000
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) =3D 0xb7fc7000
access("/etc/ld.so.preload", R_OK) =3D -1 ENOENT (No such file or
directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) =3D 0xb7fc6000
open("/etc/ld.so.cache", O_RDONLY) =3D 3
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D29554, ...}) =3D 0
mmap2(NULL, 29554, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0xb7fbe000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libresolv.so.2", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\26 0$\0"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D67364, ...}) =3D 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7fab000
mmap2(0xb7fba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0xf) =3D 0xb7fba000
mmap2(0xb7fbc000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) =3D 0xb7fbc000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.7", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\3 04\2"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D1063264, ...}) =3D 0
mmap2(NULL, 1077028, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) =3D 0xb7ea4000
mmap2(0xb7f96000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0xf2) =3D 0xb7f96000
mmap2(0xb7fa8000, 12068, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) =3D 0xb7fa8000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libutil.so.1", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\26 0\f\0"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D9656, ...}) =3D 0
mmap2(NULL, 12432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7ea0000
mmap2(0xb7ea2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x1) =3D 0xb7ea2000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/usr/lib/libz.so.1", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\34 0\26"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D79684, ...}) =3D 0
mmap2(NULL, 78544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7e8c000
mmap2(0xb7e9f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x13) =3D 0xb7e9f000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libnsl.so.1", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\ 0\000"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D76548, ...}) =3D 0
mmap2(NULL, 87808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7e76000
mmap2(0xb7e88000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x11) =3D 0xb7e88000
mmap2(0xb7e8a000, 5888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) =3D 0xb7e8a000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libcrypt.so.1", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\1 0\0\000"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D21868, ...}) =3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) =3D 0xb7e75000
mmap2(NULL, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) =3D 0xb7e47000
mmap2(0xb7e4c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x4) =3D 0xb7e4c000
mmap2(0xb7e4e000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) =3D 0xb7e4e000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libc.so.6", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\24 0O\1"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D1241392, ...}) =3D 0
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) =3D 0xb7d15000
mmap2(0xb7e3d000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x127) =3D 0xb7e3d000
mmap2(0xb7e44000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) =3D 0xb7e44000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libdl.so.2", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20 \f\0"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D9592, ...}) =3D 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7d11000
mmap2(0xb7d13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x1) =3D 0xb7d13000
close(3) =3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) =3D 0xb7d10000
mprotect(0xb7e3d000, 20480, PROT_READ) =3D 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d108e0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) =3D 0
munmap(0xb7fbe000, 29554) =3D 0
brk(0) =3D 0x8051000
brk(0x8072000) =3D 0x8072000
getuid32() =3D 1000
socket(PF_FILE, SOCK_STREAM, 0) =3D 3
fcntl64(3, F_GETFL) =3D 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) =3D 0
connect(3, {sa_family=3DAF_FILE, path=3D"/var/run/nscd/socket"}, 110) =3D -=
1
ENOENT (No such file or directory)
close(3) =3D 0
socket(PF_FILE, SOCK_STREAM, 0) =3D 3
fcntl64(3, F_GETFL) =3D 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) =3D 0
connect(3, {sa_family=3DAF_FILE, path=3D"/var/run/nscd/socket"}, 110) =3D -=
1
ENOENT (No such file or directory)
close(3) =3D 0
open("/etc/nsswitch.conf", O_RDONLY) =3D 3
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D470, ...}) =3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) =3D 0xb7fc5000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) =3D 470
read(3, "", 4096) =3D 0
close(3) =3D 0
munmap(0xb7fc5000, 4096) =3D 0
open("/etc/ld.so.cache", O_RDONLY) =3D 3
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D29554, ...}) =3D 0
mmap2(NULL, 29554, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0xb7fbe000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_compat.so.2", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20 \21\0"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D30428, ...}) =3D 0
mmap2(NULL, 33392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7d07000
mmap2(0xb7d0e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x6) =3D 0xb7d0e000
close(3) =3D 0
munmap(0xb7fbe000, 29554) =3D 0
open("/etc/ld.so.cache", O_RDONLY) =3D 3
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D29554, ...}) =3D 0
mmap2(NULL, 29554, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0xb7fbe000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_nis.so.2", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\3 4\0\000"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D34320, ...}) =3D 0
mmap2(NULL, 37420, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7cfd000
mmap2(0xb7d05000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x7) =3D 0xb7d05000
close(3) =3D 0
access("/etc/ld.so.nohwcap", F_OK) =3D -1 ENOENT (No such file or
directory)
open("/lib/tls/libnss_files.so.2", O_RDONLY) =3D 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20 0\33"...,
512) =3D 512
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D38372, ...}) =3D 0
mmap2(NULL, 41620, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
=3D 0xb7cf2000
mmap2(0xb7cfb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x8) =3D 0xb7cfb000
close(3) =3D 0
munmap(0xb7fbe000, 29554) =3D 0
open("/etc/passwd", O_RDONLY) =3D 3
fcntl64(3, F_GETFD) =3D 0
fcntl64(3, F_SETFD, FD_CLOEXEC) =3D 0
_llseek(3, 0, [0], SEEK_CUR) =3D 0
fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D1561, ...}) =3D 0
mmap2(NULL, 1561, PROT_READ, MAP_SHARED, 3, 0) =3D 0xb7fc5000
_llseek(3, 1561, [1561], SEEK_SET) =3D 0
munmap(0xb7fc5000, 1561) =3D 0
close(3) =3D 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon
echo ...}) =3D 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) =3D 0
rt_sigaction(SIGPIPE, {0x804c0d0, [], 0}, NULL, 8) =3D 0
pipe([3, 4]) =3D 0
pipe([5, 6]) =3D 0
pipe([7, 8]) =3D 0
close(3) =3D 0
close(4) =3D 0
clone(child_stack=3D0, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=3D0xb7d10928) =3D 13407
close(5) =3D 0
close(8) =3D 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) =3D 0
rt_sigaction(SIGTERM, {0x80494c0, [], 0}, NULL, 8) =3D 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) =3D 0
rt_sigaction(SIGINT, {0x80494c0, [], 0}, NULL, 8) =3D 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL}, 8) =3D 0
rt_sigaction(SIGHUP, {0x80494c0, [], 0}, NULL, 8) =3D 0
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "=3D", 1) =3D 1
read(7, "\n", 1) =3D 1
write(2, "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D\n=
", 22=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D
) =3D 22
exit_group(1) =3D ?



--=20
Stephane Mikaty
Quality Assurance
Telephone: +49-89-12009-784
GPG Key ID: 0xBC0F2EEE


--=-dUckY2kyZAWbfi0lEpBN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGxagvCujz17wPLu4RAnS7AJ9aHMXMW012xVS593PCgn CINCbCJwCff6Kf
jFGvghlEJFOABsbwR1+++aw=
=CSll
-----END PGP SIGNATURE-----

--=-dUckY2kyZAWbfi0lEpBN--