[wplug] weird rsync error

Zach netrek at gmail.com
Wed Mar 19 21:57:17 EST 2008


On Wed, Mar 19, 2008 at 10:39 PM, Tom Rhodes <trhodes at freebsd.org> wrote:
>
>  That's very interesting - I've only seen that issue on OpenSolaris
>  but I guess it can happen here as well.  Run this:
>
>  scp id_dsa.pub username at host:~/.ssh/authorized_keys
>
>  Should have also noted that I'm assuming sshd on the server is
>  allowing keys - though, if it isn't, you should be able to just
>  create your own ssh_config locally and overwrite.  But we'll
>  cross that bridge when we come to it.

Hi Tom,

Seems once again a connection is established but no file transfer
takes place. This is really vexing! Details below:

ubuntu at ubuntu:~$ cd .ssh/
ubuntu at ubuntu:~/.ssh$ ls
id_dsa  id_dsa.pub  known_hosts
ubuntu at ubuntu:~/.ssh$ scp -v id_dsa.pub
chaos at unix.club.cc.cmu.edu:~/.ssh/authorized_keys
Executing: program /usr/bin/ssh host unix.club.cc.cmu.edu, user chaos,
command scp -v -t ~/.ssh/authorized_keys
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 2
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: Offering public key: /home/ubuntu/.ssh/id_dsa
debug1: Authentications that can continue:
gssapi-with-mic,publickey,gssapi,password,keyboard-interactive
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: scp -v -t ~/.ssh/authorized_keys
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 144.4 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status -1
lost connection

Zach


More information about the wplug mailing list