[wplug] weird rsync error

Zach netrek at gmail.com
Wed Mar 19 16:57:27 EST 2008


On Wed, Mar 19, 2008 at 9:39 AM, Alexandros Papadopoulos
>
>  Try this:
>  $ rsync -avP -e "ssh -v" doxygen.diff chaos at unix.club.cc.cmu.edu:/afs/club.cc.cmu.edu/usr/chaos/tmp
>

It authenticates and tries to send the file but encounters a problem.
The directory $HOME/tmp exists so that shouldn't be a problem. This
account uses AFS and kerberos so I wonder if that could be problematic
for rsync. But I have no problem ssh'ing into the account. Does
someone know how I could transfer the file using scp? Maybe that would
work.

ubuntu at ubuntu:~/Desktop$ time rsync -avP -e "ssh -v" --progress
doxygen.diff chaos at unix.club.cc.cmu.edu:/afs/club.cc.cmu.edu/usr/chaos/tmp
OpenSSH_4.2p1 Debian-7ubuntu3, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to unix.club.cc.cmu.edu [128.237.157.20] port 22.
debug1: Connection established.
debug1: identity file /home/ubuntu/.ssh/identity type -1
debug1: identity file /home/ubuntu/.ssh/id_rsa type -1
debug1: identity file /home/ubuntu/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.8.1p1 Debian-krb5 7+cclub.012.2
debug1: match: OpenSSH_3.8.1p1 Debian-krb5 7+cclub.012.2 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1 Debian-7ubuntu3
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 'unix.club.cc.cmu.edu' is known and matches the RSA host key.
debug1: Found key in /home/ubuntu/.ssh/known_hosts:1
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:
gssapi-with-mic,publickey,gssapi,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/ubuntu/.ssh/identity
debug1: Trying private key: /home/ubuntu/.ssh/id_rsa
debug1: Trying private key: /home/ubuntu/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue:
gssapi-with-mic,publickey,gssapi,password,keyboard-interactive
debug1: Next authentication method: password
chaos at unix.club.cc.cmu.edu's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: rsync --server -vlogDtpr --partial .
/afs/club.cc.cmu.edu/usr/chaos/tmp
debug1: client_input_channel_req: channel 0 rtype exit-signal 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 192.8 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status -1
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)

real    3m19.634s
user    0m0.056s
sys     0m0.015s

Zach


More information about the wplug mailing list