LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does scp verify data sent? (https://www.linuxquestions.org/questions/linux-newbie-8/does-scp-verify-data-sent-804646/)

glenn69 04-27-2010 09:46 PM

Does scp verify data sent?
 
If I send data via scp, will scp automatically verify that the received data matches the sent data? I can do it manually with md5sum, but is that necessary?

thanks

AlucardZero 04-27-2010 11:23 PM

it will not

onebuck 04-28-2010 08:04 AM

Hi,

Quote:

Originally Posted by glenn69 (Post 3950033)
If I send data via scp, will scp automatically verify that the received data matches the sent data? I can do it manually with md5sum, but is that necessary?

thanks

Any transfers have some form of handshakes but the actual data confirmation of any type of transfer of data should be verified for integrity. So if you transfer/copy the file then one should use additional facilities to verify. So, yes create a 'hash' code to allow verification of the transferred file.

:hattip:

Aquarius_Girl 04-28-2010 08:13 AM

Quote:

Originally Posted by glenn69
If I send data via scp, will scp automatically verify that the received data matches the sent data?

I don't think scp verifies that the data sent has been correctly received on other machine.

I had backed up my home folder by sending it to another machine by scp.
I nearly had a heart attack when after some days i scped the data back from that machine to my machine. 90% folders were missing !!

Then on my 3rd scp attempt i could get all my data back. That data was in tar format !


All times are GMT -5. The time now is 06:01 AM.