I cheated and just connected via WinSCP's command line interface and grabbed the key from that. I have two different apps that transfer files via SFTP and one of them is just doing a CFEXECUTE and WinSCP but the newer one is using CFFTP securely.
On Fri, May 27, 2011 at 7:32 AM, Rick Root <rick.r...@gmail.com> wrote: > > Nobody is doing this? > > On Thu, May 26, 2011 at 11:01 AM, Rick Root <rick.r...@gmail.com> wrote: > > > So I'm thinking about migrating an "app" from our linux server to a > > coldfusion solution. Currently I'm using Perl to run a daily script > which > > retrieves a file via SSH from a remote server, and pushes it up to our > > mainframe via regular FTP then senda a special JCL file (also via FTP) > which > > causes the mainframe to run a job. > > > > coldfusion 8 added secure FTP capability, so we're investigating moving > > this process to CF since we have more CF knowledge than UNIX/Perl > knowledge. > > > > The only thing I'm not really sure about is using keytool to generate the > > key pair. > > > > I did "keytool -genkey" to generate the key and then "keytool -export" to > > export they key to a file ... Is that the public key that I sent to the > > remote server? It doesn't *LOOK* the same as the key that I generated > using > > the SSH keygen tool on the linux server (id_rsa.pub). Mostly because the > > id_rsa.pub file is all alphanumeric characters while the file I generated > > using keytool has non-alphanumeric characters. It also has "readable" > parts > > like I can see the word "North Carolina" in it, whereas the id_rsa.pub > file > > on the linux server does not have anything readable. > > > > Rick Root > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344972 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm