new keys - WeOnlyDo Discussion board

new keys (wodFtpDLX / wodFtpDLX.NET)

by Scot Styer, Wednesday, March 09, 2016, 17:48 (1044 days ago)

I need to create
a new public SSH key to send to our vendor for their sftp site
it's been a long time, since I've done this and can't remember a log

from what I remember... this will create a public key, to send to the vendor


key_value = ole_cer.publickeyopenssh
li_filenum = FileOpen( f_path2, streamMode!, Write!, Shared!, Replace!)
FileWrite(li_FileNum, key_value)

but, I believe that I need the private key on my side
to be able to communicate
I had been using, the section below
I "believe" that I had created two files above... I file had the public key
and, one the private
the private key would be used below

ole_cer = CREATE oleobject

ole_ftp.object.hostname = ftp_site
ole_ftp.object.login = 'DOCCTS'
ole_ftp.object.certificate = ole_cer
ole_ftp.object.authentication = 2
ole_ftp.object.transfermode = 0
ole_ftp.object.blocking = 0
ole_ftp.object.protocol = 1
ole_ftp.object.compression = 6
ole_ftp.object.passive = 1
ole_ftp.object.port = port

Complete thread:


  • new keys - Scot Styer, 2016-03-09, 17:48 [*]