rsync with plink does not work
From: Aldrich (ggjj)
Date: 09/24/04
- Next message: Stein Arne Storslett: "Re: Error checking in sftp"
- Previous message: Travis Spencer: "Re: Disable the server's login banner for a user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 24 Sep 2004 09:21:18 +0200
Hello,
I have problems to get rsync to work with plink:
rsync -ave "plink -v user@host" :~/test/* /cygdrive/g/work/test/
produces the following output:
Server version: SSH-1.99-OpenSSH_3.7.1p2
We claim version: SSH-2.0-PuTTY-Snapshot-2004-09-01
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa 1024 f7:0d:a8:e0:03:58:7b:e5:d3:2b:6a:cb:96:5e:68:bb
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "user".
Pageant is running. Requesting keys.
Pageant has 1 SSH2 keys
Trying Pageant key #0
Authenticating with public key "rsa-key-20040415" from agent
Sending Pageant's response
Access granted
Opened channel for session
Started a shell/command
Sent EOF message
rsync: connection unexpectedly closed (0 bytes read so far)
Server sent command exit status 12
All channels closed. Disconnecting
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
rsync: read error: No children
rsync error: error in rsync protocol data stream (code 12) at io.c(354)
--- It looks as if plink closes the connection immediately after its established. plink user@host works fine! rsync -ave "ssh -v user@host" :~/test/* /cygdrive/g/work/test/ works fine, but I have to enter a password. I would prefer using plink/pageant. Any suggestions?
- Next message: Stein Arne Storslett: "Re: Error checking in sftp"
- Previous message: Travis Spencer: "Re: Disable the server's login banner for a user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|