Hi
I'm struggling a bit trying to get ssh & rsync to work over WAN.
I have access to both devices via VPN on the routers but the transfer rate is SH!t so I'd like to try something else.
I've trying creating an ssh key and manually copy it to the receiver but no matter what I try I keep getting the following error:
1. if I try to copy the key I generated on sender (which I added to the user as well) I get this error:
Code
ssh-copy-id sshworker@12.121.321.131
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh_exchange_identification: Connection closed by remote host
If I try to do rsync or just ssh I get this error
Code
ssh sshworker@12.121.121.121 -vvv
OpenSSH_6.7p1 Debian-5+deb8u4, OpenSSL 1.0.1t 3 May 2016
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 1: Applying options for 85.191.214.138
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 12.121.121.121 [12.121.121.12] port 17676.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u4
debug1: ssh_exchange_identification: @RSYNCD: 31.0
debug1: ssh_exchange_identification: @ERROR: protocol startup error
ssh_exchange_identification: Connection closed by remote host
Alles anzeigen
Can someone help me get through this error?