Package: openssh-client Version: 1:5.1p1-4 File: /usr/bin/scp It seems all one can do is local <--> remote. No remote <--> remote:
One cannot scp host1:file1 host2:file2 : $ touch a $ scp a frodo.hserus.net: a 100% 0 0.0KB/s 00:00 $ scp frodo.hserus.net:a jidanni.org:b Host key verification failed. lost connection Nor can one even scp host1:file1 host1:file2 : $ scp a jidanni.org: a 100% 0 0.0KB/s 00:00 $ scp jidanni.org:a jidanni.org:b Host key verification failed. lost connection $ scp -v jidanni.org:a jidanni.org:b Executing: /usr/bin/ssh '-v' '-x' '-oClearAllForwardings yes' '-n' 'jidanni.org' 'scp -v' 'a' 'jidanni.org:b' OpenSSH_5.1p1 Debian-4, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /home/jidanni/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to jidanni.org [67.205.46.124] port 22. debug1: Connection established. debug1: identity file /home/jidanni/.ssh/identity type -1 debug1: identity file /home/jidanni/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/jidanni/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-9etch3 debug1: match: OpenSSH_4.3p2 Debian-9etch3 pat OpenSSH_4* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-4 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 z...@openssh.com debug1: kex: client->server aes128-cbc hmac-md5 z...@openssh.com 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 'jidanni.org' is known and matches the RSA host key. debug1: Found key in /home/jidanni/.ssh/known_hosts:14 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 debug1: Next authentication method: publickey debug1: Trying private key: /home/jidanni/.ssh/identity debug1: Offering public key: /home/jidanni/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: read PEM private key done: type RSA debug1: Enabling compression at level 6. debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LC_MESSAGES = C debug1: Sending env LC_COLLATE = C debug1: Sending env LANG = zh_TW.UTF-8 debug1: Sending env LC_CTYPE = zh_TW.UTF-8 debug1: Sending command: scp -v a jidanni.org:b Executing: program /usr/bin/ssh host jidanni.org, user (unspecified), command scp -v -t b OpenSSH_4.3p2 Debian-9etch3, OpenSSL 0.9.8c 05 Sep 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to jidanni.org [67.205.46.124] port 22. debug1: Connection established. debug1: identity file /home/jidanni/.ssh/identity type -1 debug1: identity file /home/jidanni/.ssh/id_rsa type -1 debug1: identity file /home/jidanni/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-9etch3 debug1: match: OpenSSH_4.3p2 Debian-9etch3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9etch3 debug1: Miscellaneous failure Unknown code krb5 195 debug1: Miscellaneous failure Unknown code krb5 195 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: read_passphrase: can't open /dev/tty: No such device or address Host key verification failed. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 lost connection debug1: channel 0: free: client-session, nchannels 1 Transferred: sent 2288, received 3272 bytes, in 0.6 seconds Bytes per second: sent 3793.5, received 5424.9 debug1: Exit status 1 debug1: compress outgoing: raw data 215, compressed 149, factor 0.69 debug1: compress incoming: raw data 1682, compressed 886, factor 0.53 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org