Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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?
TIA
Mike

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.
Ken

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 keysNow you can SFTP from VMS to Unix/Linux and you will not be prompted for a password
Mike

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |