Name: mevasquez Date: October 3, 2007 at 14:03:21 Pacific Subject: sftp from vms to linux OS: Centos CPU/Ram: 4 gb Model/Manufacturer: Del
Comment:
I need to use sftp to upload files to a linux box without having to enter the password. I have read about the public and private key; however, vms keeps asking for a password. I have managed to sftp between two linux boxes without the linux box asking for a password but I am having problems with vms to linux. Does anyone knows how to do this?
Please tell use what version of which tcp/ip stack you are using. If you are using TCP/IP Services for OpenVMS, make sure the version is at least 5.4 ECO 5. Using sftp from a earlier version is problematic.
Found the proper command. It seems that when VMS creates the private/public key, the public key is not encrypted the way Linux/Unix encrypts its public key. When you do the following command, the -i option prints an Open SSH compatible public key to stdout.
Once you have created your public key you can FTP the publickey.pub to the Unix System. Then you ssh over to the Unix System, cd into the .ssh folder and do the following command, ssh-keygen -i -f id_dsa_1024_a.pub >> authorized keys
Now you can SFTP from VMS to Unix/Linux and you will not be prompted for a password
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE