I've been trying to back up my data off freenas to a linux box. So on the linux box I use rsnapshot, which leverages rsync to create backups. My problem is that after a lengthy period of time I keep getting this reported from my client side:
I believe this error is on the server side. On my client side I have this inside of /etc/ssh/ssh_conf:
On FreeNAS, I'm not sure where the correct files are, or if toggling SSH from the GUI actually restarts the service to re-read the config file or not. On FreeNAS, I've edited
and I've set this:
Am I mixing up the ClientAliveInterval and ClientAliveCountMax with the server versions? Like should the server alive ones be on FreeNAS and the client alive ones be on the client side?
So I'm thinking I've either mixed those up, or toggling the SSH service on FreeNAS doesn't actually re-read the config file, or the SSH config file for freeNAS is in some other weird location. What do you think?
Code:
packet_write_wait: Connection to 10.0.0.220 port 22: Broken pipe rsync: connection unexpectedly closed (1224956372 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [receiver=3.1.2] rsync: connection unexpectedly closed (395016 bytes received so far) [generator] rsync error: unexplained error (code 255) at io.c(235) [generator=3.1.2] ERROR: /usr/bin/rsync returned 255 while processing backup@10.0.0.220:/mnt/Storage/data/ /usr/bin/logger -p user.err -t rsnapshot[2308] /usr/bin/rsnapshot -c \ freenas_rsnapshot.conf daily: ERROR: /usr/bin/rsync returned 255 while \ processing backup@10.0.0.220:/mnt/Storage/data/ touch /mnt/FreeNAS_Backup/daily.0/ rm -f /home/backup/scripts/rsnapshot.pid /usr/bin/logger -p user.err -t rsnapshot[2308] /usr/bin/rsnapshot -c \ freenas_rsnapshot.conf daily: ERROR: /usr/bin/rsnapshot -c \ freenas_rsnapshot.conf daily: completed, but with some errors
I believe this error is on the server side. On my client side I have this inside of /etc/ssh/ssh_conf:
Code:
ServerAliveInterval 60 ServerAliveCountMax 10
On FreeNAS, I'm not sure where the correct files are, or if toggling SSH from the GUI actually restarts the service to re-read the config file or not. On FreeNAS, I've edited
Code:
/etc/ssh/sshd_config
and I've set this:
Code:
ClientAliveInterval 60 ClientAliveCountMax 10
Am I mixing up the ClientAliveInterval and ClientAliveCountMax with the server versions? Like should the server alive ones be on FreeNAS and the client alive ones be on the client side?
So I'm thinking I've either mixed those up, or toggling the SSH service on FreeNAS doesn't actually re-read the config file, or the SSH config file for freeNAS is in some other weird location. What do you think?