Operating System - OpenVMS
1827804 Members
2333 Online
109969 Solutions
New Discussion

Running sftp from Open VMS to Unix client

 
SOLVED
Go to solution
Thomas Wieckowski
Occasional Advisor

Running sftp from Open VMS to Unix client

Hello, I have a problem where an Openvms client is trying to sftp to my unix system.
Unix is running ssh2 protocol. I need the files that come over from VMS via sftp to be 660 file permissions. (write access for group). From my understanding (I'm not VMS literate, the sftp client dow not have "chmod" functionality. SO, they can't change permissions on the unix server once the file transmitted. My question is, ?Does in fact VMS sftp not have chmod functionality? If this is the case, then is there anything I can do on the Unix system to change the file creation permissions via the umask?. I might also add that the VMS client comes into the Unix server as "Chrooted". Hope this makes sense and would appreciate any feedback you may have.
Regards
Tom
8 REPLIES 8
Martin P.J. Zinser
Honored Contributor

Re: Running sftp from Open VMS to Unix client

Hello Tom,

which IP stack does the VMS system run? There are at least two different ssh implementations out there (one from Process and one from hp). The answer to your question most probably depends on which of these is used.

Greetings, Martin
Thomas Wieckowski
Occasional Advisor

Re: Running sftp from Open VMS to Unix client

From what they told me. It runs under (multinet) on VMS. I hope this is what your referring to. Thanks for your response.
regards,
Tom
Martin P.J. Zinser
Honored Contributor
Solution

Re: Running sftp from Open VMS to Unix client

Hello Tom,

yup, this is exactly what I was asking for. Unfortunatly I do run the other brand of IP, so somebody else will have to chip in with further information.

Greetings, Martin
Dale A. Marcy
Trusted Contributor

Re: Running sftp from Open VMS to Unix client

Tom,

I tried looking at the documentation for Multinet and could not find any "chmod" or similar command when using SFTP. I do not interface with any Unix systems, so I cannot provide any further help. In VMS, I would set default access control lists on the receiving directory to handle what you are asking, but I have no idea if or how you could do that in Unix.
Dale A. Marcy
Trusted Contributor

Re: Running sftp from Open VMS to Unix client

If you have newsgroup access, you might try posting your question at:

vmsnet.networks.tcp-ip.multinet

Some of the people who work at Process (owner of Multinet) read that group and could possibly provide a better response.
Thomas Wieckowski
Occasional Advisor

Re: Running sftp from Open VMS to Unix client

I will do that. post to multinet.Thanks very much for the information.
Tom
Dale A. Marcy
Trusted Contributor

Re: Running sftp from Open VMS to Unix client

Just to follow up, I read Tom's message in the Multinet newsgroup and one of the Process people responded that the functionality is indeed missing from Multinet's SFTP and that they would submit a request to add that functionality.
Thomas Wieckowski
Occasional Advisor

Re: Running sftp from Open VMS to Unix client

Thanks very much Dale for posting this.
regards,
Tom