elrond
28.10.03, 12:12
Hallo allerseits,
ich versuche gerade von einer suse8.2 auf eine 7.3 zu rsync en.
Zwischen den 7.2 Hosts geht das hervorragend.
wenn ich jetzt versuche via
rsync -e ssh -av /var/backup/lx-sgs/ lx-ew:/var/backup/lx-sgs/
Daten zu übertragen schägt das fehl:
-----------------------------------------------------------------------------------------
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
-----------------------------------------------------------------------------------------
das hier funktioniert auch problemlos:
-----------------------------------------------------------------------------------------
scp t.txt lx-ew:
-----------------------------------------------------------------------------------------
ein "ssh -v lx-ew" funxt und gibt folgende debug-infos:
-----------------------------------------------------------------------------------------
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
15194: debug1: Reading configuration data /etc/ssh/ssh_config
15194: debug1: Applying options for *
15194: debug1: Rhosts Authentication disabled, originating port will not be trusted.
15194: debug1: ssh_connect: needpriv 0
15194: debug1: Connecting to lx-ew [192.168.2.18] port 22.
15194: debug1: Connection established.
15194: debug1: identity file /home/Illner/.ssh/identity type 0
15194: debug1: identity file /home/Illner/.ssh/id_rsa type 1
15194: debug1: identity file /home/Illner/.ssh/id_dsa type 2
15194: debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9p2
15194: debug1: match: OpenSSH_2.9p2 pat OpenSSH_2.9p*
15194: debug1: Enabling compatibility mode for protocol 2.0
15194: debug1: Local version string SSH-2.0-OpenSSH_3.5p1
15194: debug1: SSH2_MSG_KEXINIT sent
15194: debug1: SSH2_MSG_KEXINIT received
15194: debug1: kex: server->client aes128-cbc hmac-md5 none
15194: debug1: kex: client->server aes128-cbc hmac-md5 none
15194: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
15194: debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
15194: debug1: dh_gen_key: priv key bits set: 141/256
15194: debug1: bits set: 1033/2049
15194: debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
15194: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
15194: debug1: Host 'lx-ew' is known and matches the DSA host key.
15194: debug1: Found key in /home/Illner/.ssh/known_hosts:1
15194: debug1: bits set: 1009/2049
15194: debug1: ssh_dss_verify: signature correct
15194: debug1: kex_derive_keys
15194: debug1: newkeys: mode 1
15194: debug1: SSH2_MSG_NEWKEYS sent
15194: debug1: waiting for SSH2_MSG_NEWKEYS
15194: debug1: newkeys: mode 0
15194: debug1: SSH2_MSG_NEWKEYS received
15194: debug1: done: ssh_kex2.
15194: debug1: send SSH2_MSG_SERVICE_REQUEST
15194: debug1: service_accept: ssh-userauth
15194: debug1: got SSH2_MSG_SERVICE_ACCEPT
15194: debug1: authentications that can continue: publickey,password
15194: debug1: next auth method to try is publickey
15194: debug1: try pubkey: /home/Illner/.ssh/id_rsa
15194: debug1: authentications that can continue: publickey,password
15194: debug1: try pubkey: /home/Illner/.ssh/id_dsa
15194: debug1: input_userauth_pk_ok: pkalg ssh-dss blen 433 lastkey 0x8096718 hint 2
15194: debug1: read PEM private key done: type DSA
15194: debug1: ssh-userauth2 successful: method publickey
15194: debug1: channel 0: new [client-session]
15194: debug1: send channel open 0
15194: debug1: Entering interactive session.
15194: debug1: ssh_session2_setup: id 0
15194: debug1: channel request 0: pty-req
15194: debug1: channel request 0: shell
15194: debug1: fd 3 setting TCP_NODELAY
15194: debug1: channel 0: open confirm rwindow 0 rmax 16384
-----------------------------------------------------------------------------------------
vielleicht hat ja jemand von Euch einen Tip...
ich versuche gerade von einer suse8.2 auf eine 7.3 zu rsync en.
Zwischen den 7.2 Hosts geht das hervorragend.
wenn ich jetzt versuche via
rsync -e ssh -av /var/backup/lx-sgs/ lx-ew:/var/backup/lx-sgs/
Daten zu übertragen schägt das fehl:
-----------------------------------------------------------------------------------------
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
-----------------------------------------------------------------------------------------
das hier funktioniert auch problemlos:
-----------------------------------------------------------------------------------------
scp t.txt lx-ew:
-----------------------------------------------------------------------------------------
ein "ssh -v lx-ew" funxt und gibt folgende debug-infos:
-----------------------------------------------------------------------------------------
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
15194: debug1: Reading configuration data /etc/ssh/ssh_config
15194: debug1: Applying options for *
15194: debug1: Rhosts Authentication disabled, originating port will not be trusted.
15194: debug1: ssh_connect: needpriv 0
15194: debug1: Connecting to lx-ew [192.168.2.18] port 22.
15194: debug1: Connection established.
15194: debug1: identity file /home/Illner/.ssh/identity type 0
15194: debug1: identity file /home/Illner/.ssh/id_rsa type 1
15194: debug1: identity file /home/Illner/.ssh/id_dsa type 2
15194: debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9p2
15194: debug1: match: OpenSSH_2.9p2 pat OpenSSH_2.9p*
15194: debug1: Enabling compatibility mode for protocol 2.0
15194: debug1: Local version string SSH-2.0-OpenSSH_3.5p1
15194: debug1: SSH2_MSG_KEXINIT sent
15194: debug1: SSH2_MSG_KEXINIT received
15194: debug1: kex: server->client aes128-cbc hmac-md5 none
15194: debug1: kex: client->server aes128-cbc hmac-md5 none
15194: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
15194: debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
15194: debug1: dh_gen_key: priv key bits set: 141/256
15194: debug1: bits set: 1033/2049
15194: debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
15194: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
15194: debug1: Host 'lx-ew' is known and matches the DSA host key.
15194: debug1: Found key in /home/Illner/.ssh/known_hosts:1
15194: debug1: bits set: 1009/2049
15194: debug1: ssh_dss_verify: signature correct
15194: debug1: kex_derive_keys
15194: debug1: newkeys: mode 1
15194: debug1: SSH2_MSG_NEWKEYS sent
15194: debug1: waiting for SSH2_MSG_NEWKEYS
15194: debug1: newkeys: mode 0
15194: debug1: SSH2_MSG_NEWKEYS received
15194: debug1: done: ssh_kex2.
15194: debug1: send SSH2_MSG_SERVICE_REQUEST
15194: debug1: service_accept: ssh-userauth
15194: debug1: got SSH2_MSG_SERVICE_ACCEPT
15194: debug1: authentications that can continue: publickey,password
15194: debug1: next auth method to try is publickey
15194: debug1: try pubkey: /home/Illner/.ssh/id_rsa
15194: debug1: authentications that can continue: publickey,password
15194: debug1: try pubkey: /home/Illner/.ssh/id_dsa
15194: debug1: input_userauth_pk_ok: pkalg ssh-dss blen 433 lastkey 0x8096718 hint 2
15194: debug1: read PEM private key done: type DSA
15194: debug1: ssh-userauth2 successful: method publickey
15194: debug1: channel 0: new [client-session]
15194: debug1: send channel open 0
15194: debug1: Entering interactive session.
15194: debug1: ssh_session2_setup: id 0
15194: debug1: channel request 0: pty-req
15194: debug1: channel request 0: shell
15194: debug1: fd 3 setting TCP_NODELAY
15194: debug1: channel 0: open confirm rwindow 0 rmax 16384
-----------------------------------------------------------------------------------------
vielleicht hat ja jemand von Euch einen Tip...