[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

scp gibt mir Rätsel auf



Hallo
ich betreibe Linux-Rechner (123.456.789.119 und 123.456.789.113). Auf beide kann ich problemlos über WinSCP von einem dritten (Windows-) Rechner zugreifen. Versuche ich nun vom ...113 auf den ...119 zu zugreifen klappt auch dieses. Umgekehrt jedoch leider nicht, obwohl beide sshd_config Datei identisch und original sind!
Einer eine Idee?

<---------------------------------------------------------------------------------------------------------->

123.456.789.119:~# scp -pv heizung.rrd root@123.456.789.113:/home/dummy/
Executing: program /usr/bin/ssh host 123.456.789.113, user root, command scp -v -p -t /home/dummy/
OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 123.456.789.113 [123.456.789.113] port 22.
debug1: connect to address 123.456.789.113 port 22: Connection refused
ssh: connect to host 123.456.789.113 port 22: Connection refused
lost connection

<---------------------------------------------------------------------------------------------------------->

123.456.789.113:~# scp -pv root@123.456.789.119:/home/pi/heizung.rrd .
Executing: program /usr/bin/ssh host 123.456.789.119, user root, command scp -v -p -f /home/pi/heizung.rrd
OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 123.456.789.119 [123.456.789.119] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4+deb7u2
debug1: match: OpenSSH_6.0p1 Debian-4+deb7u2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA 1a:e4:a7:00:d8:28:98:08:8d:2b:5b:0b:74:e8:bd:67
debug1: Host '123.456.789.119' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:3
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
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: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: password
root@123.456.789.119's password:

<---------------------------------------------------------------------------------------------------------->

--
Gruß aus der Stadt der CeBIT
Jochen


Reply to: