Computing.Net > Forums > OpenVMS > sftp from vms to linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

sftp from vms to linux

Reply to Message Icon

Name: mevasquez
Date: October 3, 2007 at 14:03:21 Pacific
OS: Centos
CPU/Ram: 4 gb
Product: 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?

TIA
Mike



Sponsored Link
Ads by Google

Response Number 1
Name: Ken Robinson (by kenrbnsn)
Date: October 3, 2007 at 19:48:06 Pacific
Reply:

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


0

Response Number 2
Name: mevasquez
Date: October 9, 2007 at 10:48:38 Pacific
Reply:

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

Mike


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: sftp from vms to linux

openvms to linux/windows NT migration www.computing.net/answers/openvms/openvms-to-linuxwindows-nt-migration/18.html

Mapping a network drive from VMS to NT www.computing.net/answers/openvms/mapping-a-network-drive-from-vms-to-nt/34.html

SFTP VMS to SUN www.computing.net/answers/openvms/sftp-vms-to-sun/590.html