LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2010, 10:46 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
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
 
Old 04-28-2010, 12:23 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
it will not
 
Old 04-28-2010, 09:04 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by glenn69 View Post
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.

 
Old 04-28-2010, 09:13 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No verify or data integrity check in K3b or Brasero, SUSE 11.0 (64-bit) DeekBeek SUSE / openSUSE 3 08-03-2008 09:43 AM
k3b can't verify data DVD! IsaacKuo Linux - Software 12 05-21-2008 07:40 PM
How to do a write/verify test on data tapes with a Storagetek L700e robotic library pyrotherm Linux - Software 1 04-27-2008 04:29 PM
Using zdump to verify timezone data JackieBlue Linux - Newbie 2 11-19-2007 10:34 AM
Moving data around -- cp=scp mv=? mijohnst Linux - General 3 09-22-2005 06:19 PM


All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration