[lug] Checksum & scp
Kyle Moore
kmoore at trustamerica.com
Mon Mar 5 12:21:36 MST 2001
I have to assume there are Windows clients that will be sending files.
So I can't assume they have anything. God, I hate dealing with Windows.
Not only is it a piece of junk but most of the people that use it for
servers seem to be clueless so I have to solve all of their problems.
Jeffrey Siegal wrote:
>
> Kyle Moore wrote:
> > The other thing I would like to implement is file integrity. I have a
> > couple of ideas but am looking for other opinions. Something like having
> > a checksum generated automatically before the file is sent and then I
> > can compare the checksum after I receive the file.
>
> safe_ssh()
> {
> #usage: safe_ssh local_file remote_host remote_name
> md5sum $1
> scp $1 $2:$3
> ssh $2 md5sum $3
> }
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list