LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   crc failed error when getings .tar.gz files from SFU3.5 (https://www.linuxquestions.org/questions/linux-software-2/crc-failed-error-when-getings-tar-gz-files-from-sfu3-5-a-571050/)

sugar2 07-20-2007 08:18 PM

crc failed error when getings .tar.gz files from SFU3.5
 
Hi, I'm getting a "CRC failed error" message when passing a .tar.gz file from SFU 3.5 (Windows Services for Unix 3.5) OpenSSH to another Linux OpenSSH, file its created in SFU box with 100% integrity, then with I copy it to the linux box, it results in a crc failed file. Im doint this procedure Linux-to-Linux and Unix-to-Linux with no errors.

This is the commands I use to login via ssh to the SFU box, create the compressed tarball file, and then bring back to the linux box via the same ssh tunnel.
Note: the xx.xx.xx.xx is the remote windows SFU box.

Code:

linux#/usr/bin/sudo -u TrustedUser /usr/bin/ssh -l TrustedUser xx.xx.xx.xx /usr/bin/tar -czf /home/TrustedUser/nas1-OM-backup.tar.gz /dev/fs/C/workware/MyMSAccessDataBase
linux#/usr/bin/sudo -u TrustedUser /usr/bin/ssh -l TrustedUser xx.xx.xx.xx /bin/cat /home/TrustedUser/nas1-OM-backup.tar.gz | /usr/bin/pv -pterbc > /mnt/usb-storage/CRAFTA-SERVER-OM/nas1-OM-backup-$(date +%F_%H-%M).tar.gz
linux#/usr/bin/sudo -u TrustedUser /usr/bin/ssh -l TrustedUser xx.xx.xx.xx /bin/rm /home/TrustedUser/nas1-OM-backup.tar.gz

Im not sure if the error its due using cat instead of ncat, but the SFU doesnt have ncat...
What can I do to solve this CRC error issue?
Thanks in advance

Aldo


All times are GMT -5. The time now is 10:47 PM.