- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: MD5 and SCP/SFTP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 07:01 PM
тАО09-08-2005 07:01 PM
Anybody any ideas how to get this working with SCP/SFTP?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 07:29 PM
тАО09-08-2005 07:29 PM
Re: MD5 and SCP/SFTP
Also, I IRC, there are some issues with SCP and/or SFTP on OpenVMS.
Could is be that the endian difference (VMS is little-endian, HP-UX is big-endian) is causing a problem?
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 07:50 PM
тАО09-08-2005 07:50 PM
Re: MD5 and SCP/SFTP
;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 08:45 PM
тАО09-08-2005 08:45 PM
Re: MD5 and SCP/SFTP
If not then it may be messing with the file contents.
Binary file transfers with sftp have been fixed in recent ECO kits for hp TCPIP Services for VMS.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 09:10 PM
тАО09-08-2005 09:10 PM
Re: MD5 and SCP/SFTP
Maybe the diference is because of different file structure. On HPUX you have stream files with records terminated by
You can see this with DIR /FULL as "Record format:". If yours file is not Stream_LF try to convert the file with:
$ CONVERT/FDL=SYS$INPUT input output
RECORD; FORMAT STREAM_LF
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 09:13 PM
тАО09-08-2005 09:13 PM
Re: MD5 and SCP/SFTP
On the testfile I could do this but when I receive files that are being transferred to another node/application I'm not sure if I can.
I've SCP'd a ascii file to UX and SCP'd it back. The checksum is correct so it's certain that the file landed correctly on UX. Perhaps I'll write my own "checksum" this way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 09:23 PM
тАО09-08-2005 09:23 PM
Re: MD5 and SCP/SFTP
What are you using to compute the checksum on the VMS part?
If my previous suggestion works (I am not able to test it right now) could you arrange that the files will be originaly written as stream_lf files.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 09:38 PM
тАО09-08-2005 09:38 PM
Re: MD5 and SCP/SFTP
I use MD5 on VMS and on UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2005 12:05 AM
тАО09-09-2005 12:05 AM
Re: MD5 and SCP/SFTP
I have no MD5 on my VMS system. Maybe you are on 8.2 and you use $ CHECKSUM/ALGORITHM=MD5. Or you use md5sum from the GNV distribution. (this seems broken on my system).
I copy the Reference Implementation from the RFC:
http://www.faqs.org/rfcs/rfc1321.html
and try it on a file. The error was exacltly as I predicted in my previous post. If you compute the checksum on two files where one is variable and the other is the same but stream_lf the checksum is different.
If you modify the source (mddriver.c) to open the file in ascii mode "r" and not binary mode "rb" the result is same. It is also the same as my linux system gives me with md5sum.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2005 12:15 AM
тАО09-09-2005 12:15 AM
Re: MD5 and SCP/SFTP
I reread my previous post and see that is not clear.
I mean that if you modify the open mode of the file the checksums are equal independent on the record format.
Bojan