Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP on VMS - script

SOLVED
Go to solution
robert70
Valued Contributor

SFTP on VMS - script

I have SFTP client setup on an Alpha ds20e running VMS 7.3-2
I am trying to connect to an Secure FTP server on a HP-UNX box.
How can I script a connection using username / password and IP address etc.
Is it something like

$SFTP username@IPaddress password

Im sure Ive seen how to do this before on this site?
many thanks
6 REPLIES
robert70
Valued Contributor

Re: SFTP on VMS - script

the above appears to work but it seems to hang when i do an "ls" command
Hoff
Honored Contributor
Solution

Re: SFTP on VMS - script

Use your own self-issued certificates and a no-password login. Details on the set-up are here:

http://labs.hoffmanlabs.com/node/1118

That article is specifically for connections from Mac OS X to OpenVMS, but the basic requirements for the other direction (OpenVMS to Unix) are the same.

(Embedded passwords are permissible in your environment? Even if they are, that would not be my implementation choice here.)
Ian Miller.
Honored Contributor

Re: SFTP on VMS - script

Which TCPIP stack are you using?
If the HP one then exactly what version
(do TCPIP SHOW VERSION).

You may need to use the -B option
____________________
Purely Personal Opinion
robert70
Valued Contributor

Re: SFTP on VMS - script

many thanks Hoff ill have a look
robert70
Valued Contributor

Re: SFTP on VMS - script

Ian im using Version 5.4 of TCPIP
Ian Miller.
Honored Contributor

Re: SFTP on VMS - script

Do ensure you are current on the 5.4 ECO kit as the earlier versions where not good.

V5.4 ECO7 seems to work
____________________
Purely Personal Opinion