1829429 Members
2505 Online
109991 Solutions
New Discussion

ssh-2 ftp question

 
Rakesh Kapoor
Advisor

ssh-2 ftp question

I am running ssh2 under HP-UX 11.00 and would be transferring some files to mainframe [mvs]. To accomplish this, I need to generate authentication certificates file that would be loaded to the mainframe trusted ftp software tables.
Is there a procedure to create these certificates [ also called private keys ] under unix? How ?
Thanks.
3 REPLIES 3
Denver Osborn
Honored Contributor

Re: ssh-2 ftp question

yes, you would use ssh-keygen to generate the public/private keypair from the unix box.

man ssh-keygen

Is this for ssh (sftp) or ftps (ftp-over-ssl)?

Im confused with "would be loaded to the mainframe trusted ftp software tables"... but then again, it doesn't take much to confuse me. :)

If ssh-keygen doesn't help, post details on what you need to accomplish.

-denver
Steven E. Protter
Exalted Contributor

Re: ssh-2 ftp question

ssh-keygen -t dsa

Enter through all prompts and transfer the private key to the mvs system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
HGN
Honored Contributor

Re: ssh-2 ftp question

Hi

The steps I did to setup is

#/usr/bin/ssh-keygen -t dsa -b 1024
#cat id_dsa.pub >authorized_keys

ftp this file over the server you have connect.

Regards
HGN