Kilka dni po aktualizacji RS3412xs DSM do 6.2-23739 pojawiły mi się problemy z kluczami SSH.
Synchronizuje zdalny folder za pomocą skryptu odpalanego w cronie.
"Mięskiem" skryptu jest polecenie:
Kod: Zaznacz cały
rsync -av -z -e SSH --progress ftp@domena.pl:/home/ftp/* /volume1/katalog/
Wygenerowałem ponownie parę kluczy, wysłałem na zdalny serwer, wszystko zgodnie ze sztuką.
I dalej prosi o hasło.
po odpaleniu SSH ftp@domena.pl -vvv otrzymuję log (końcówkę wklejam)
Kod: Zaznacz cały
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:nR68LU+KdS4Zz2lN0Y5uVjfgkZibimqweHo1XXXXX
debug3: hostkeys_foreach: reading file "/var/services/homes/admin/.SSH/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /var/services/homes/admin/.SSH/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from domena.pl
debug3: hostkeys_foreach: reading file "/var/services/homes/admin/.SSH/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /var/services/homes/admin/.SSH/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from 158.x.x.x
debug1: Host 'domena.pl' is known and matches the ECDSA host key.
debug1: Found key in /var/services/homes/admin/.SSH/known_hosts:1
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey after 134217728 blocks
debug2: key: /var/services/homes/admin/.SSH/id_rsa (0x7f9268545440)
debug2: key: /var/services/homes/admin/.SSH/id_dsa ((nil))
debug2: key: /var/services/homes/admin/.SSH/id_ecdsa (0x7f9268545720)
debug2: key: /var/services/homes/admin/.SSH/id_ed25519 ((nil))
debug3: send packet: type 5
debug3: receive packet: type 6
debug2: service_accept: SSH-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: password
debug3: start over, passed a different list password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup password
debug3: remaining preferred: ,keyboard-interactive,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
ftp@domena.pl password:
Do innych maszyn zewnętrznych mam to samo.
Może Wy macie jakieś pomysły które by mnie naprowadziły?