Errore di rsync [RISOLTO]
Errore di rsync [RISOLTO]
Nella nostra rete abbiamo installato un sistema di backup dal ns. server verso un altro PC utilizzando rsync.
Tutto ha sempre funzionato, ogni notte avviene la copia, ed ogni mese viene archiviata la copia mensile, per riprendere poi con la copia giornaliera. Da alcuni giorni però la copia non viene effettuata e il log di rsync riporta questo errore:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that RSA host keys has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:70:63:da:4d:af:66:03:ef:16:df:94:30:8f:f7:6c.
Please contact your system administrator.
Add correct host key in /root/.ssh/know_hosts to get rid of this message.
Offendig key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.73 has changed and you have requested strict checking.
Host key verification failed.
rsybc: connection unexpectedly closed (0 bytes reveived so far) [receiver]
rsync error: unexplained error (code 255) at io.c(454) [receiver=2.6.9]
Non sono ancora molto esperto di Ubuntu e non capisco bene quale sia il problema.
Attendo il vostro aiuto. Grazie.
Tutto ha sempre funzionato, ogni notte avviene la copia, ed ogni mese viene archiviata la copia mensile, per riprendere poi con la copia giornaliera. Da alcuni giorni però la copia non viene effettuata e il log di rsync riporta questo errore:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that RSA host keys has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:70:63:da:4d:af:66:03:ef:16:df:94:30:8f:f7:6c.
Please contact your system administrator.
Add correct host key in /root/.ssh/know_hosts to get rid of this message.
Offendig key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.73 has changed and you have requested strict checking.
Host key verification failed.
rsybc: connection unexpectedly closed (0 bytes reveived so far) [receiver]
rsync error: unexplained error (code 255) at io.c(454) [receiver=2.6.9]
Non sono ancora molto esperto di Ubuntu e non capisco bene quale sia il problema.
Attendo il vostro aiuto. Grazie.
Ultima modifica di Flavio61 il venerdì 28 novembre 2008, 16:24, modificato 1 volta in totale.
Re: Errore di rsync
per caso uno dei sistemi è passato da ubuntu hardy a ubuntu intrepid?
scusate l'inioranza 
- fortran77
- Entusiasta Emergente

- Messaggi: 1385
- Iscrizione: sabato 29 dicembre 2007, 9:44
- Desktop: Xfce, iconoclasta
- Distribuzione: Gentoo o Xubuntu, dipende
- Località: Firenze (collina)
Re: Errore di rsync
Probabilmente hai aggiornato qualcosa e le chiavi rsa sono cambiate. Dopo aver controllato che tutto sia ok puoi rimuovere la voce cambiata in /root/.ssh/known_hosts, oppure rimuovere tutto il file direttamente (ti chiederà se accettare la nuova chiave che a quel punto è sconosciuta).
any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee. --- John Donne
Re: Errore di rsync
Grazie per le risposte.
Ho fatto diverse prove ma non riesco a risolvere. I passi che ho fatto, leggendo la guida, sono:
1) rigenerato le chiavi sul pc host
2) copiato il contenuto del file id_dsa.pub nel file /root/.ssh/authorized_keys sul server
quando cerco di accedere mi da ancora questa segnalazione:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:70:63:da:4d:af:66:03:ef:16:df:94:30:8f:f7:6c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.73 has changed and you have requested strict checking.
Host key verification failed.
Ho fatto diverse prove ma non riesco a risolvere. I passi che ho fatto, leggendo la guida, sono:
1) rigenerato le chiavi sul pc host
2) copiato il contenuto del file id_dsa.pub nel file /root/.ssh/authorized_keys sul server
quando cerco di accedere mi da ancora questa segnalazione:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:70:63:da:4d:af:66:03:ef:16:df:94:30:8f:f7:6c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.73 has changed and you have requested strict checking.
Host key verification failed.
- fortran77
- Entusiasta Emergente

- Messaggi: 1385
- Iscrizione: sabato 29 dicembre 2007, 9:44
- Desktop: Xfce, iconoclasta
- Distribuzione: Gentoo o Xubuntu, dipende
- Località: Firenze (collina)
Re: Errore di rsync
Come vedi nel messaggio di errore (perché nessuno li legge? linux è così preciso...) il problema è nel file /root/.ssh/known_hosts. Lì sono salvate le autenticazioni dei server remoti. Puoi cancellare del tutto il file (ssh ti chiederà a quel punto di autorizzare la connessione all'host e salverà la nuova stringa di identificazione) oppure rimuovere la voce relativa al quel preciso server di rete.
any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee. --- John Donne
Re: Errore di rsync
Hai perfettamente ragionefortran77 ha scritto: Come vedi nel messaggio di errore (perché nessuno li legge? linux è così preciso...)
Il problema è che essendo praticamente a zero su sistemi linux devo prenderci un po' la mano e non capivo bene se il messaggio si riferisse al server o al client, questo perchè il file known_hosts è presente su tutti e due.
Re: Errore di rsync
FUNZIONAAA!!!! (b2b)
Grazie per l'aiuto.
A questo approfitto della Vs. cortesia. Come avrete capito di linux ne so poco, lavoro nel mondo Windows, ho studiato un pochino questo rsync e mi sembra un ottimo prodotto, due domande:
- dove trovo una guida completa ed esaustiva di rsync (ne ho trovate diverse in rete ma tutte parziali)?
- esiste una versione Windows di rsync?
Grazie ancora.
Grazie per l'aiuto.
A questo approfitto della Vs. cortesia. Come avrete capito di linux ne so poco, lavoro nel mondo Windows, ho studiato un pochino questo rsync e mi sembra un ottimo prodotto, due domande:
- dove trovo una guida completa ed esaustiva di rsync (ne ho trovate diverse in rete ma tutte parziali)?
- esiste una versione Windows di rsync?
Grazie ancora.
- fortran77
- Entusiasta Emergente

- Messaggi: 1385
- Iscrizione: sabato 29 dicembre 2007, 9:44
- Desktop: Xfce, iconoclasta
- Distribuzione: Gentoo o Xubuntu, dipende
- Località: Firenze (collina)
Re: Errore di rsync
Mi pare che il man di rsync contenga tutto quanto necessiti di sapere...
any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee. --- John Donne
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti
