Hi I have commited the fix in both 1.5.1 and 2.0.
I would love if you could test it. Notice I have renamed the options to not include the sftp prefix. They are named: privateKeyFile and privateKeyFilePassphrase /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/ On Sat, Nov 29, 2008 at 11:55 AM, Claus Ibsen <[EMAIL PROTECTED]> wrote: > Hi > > I have created the ticket > https://issues.apache.org/activemq/browse/CAMEL-1130 > > I am messing the the ftp component on another matter so I will try to > merge the patch into the trunk code. > > Yogesh would be cool if you could test it on your system when it's in > the 2.0-SNAPSHOT > > /Claus Ibsen > Apache Camel Committer > Blog: http://davsclaus.blogspot.com/ > > > > On Thu, Nov 27, 2008 at 10:26 AM, Willem Jiang <[EMAIL PROTECTED]> wrote: >> Hi >> >> We prefer the patch which is created by using svn diff. In this way, the >> committer can apply the patch more easily. >> >> BTW, don't forget to grant the ASF license when you submit the patch in >> the JIRA. >> >> Willem >> >> Claus Ibsen wrote: >>> Hi >>> >>> This is good so far. >>> >>> You could sign up in our JIRA and create a ticket for the request. >>> http://issues.apache.org/activemq/browse/CAMEL >>> >>> And add the code. Then it's easier for us to get the code committed, >>> as we would like to have a JIRA ticket for the bugs, features, task >>> etc. that we commit to the code base. >>> >>> Also see the contributing guide: >>> http://activemq.apache.org/camel/contributing.html >>> >>> >>> /Claus Ibsen >>> Apache Camel Committer >>> Blog: http://davsclaus.blogspot.com/ >>> >>> >>> >>> On Thu, Nov 27, 2008 at 12:35 AM, ychawla <[EMAIL PROTECTED]> wrote: >>>> Actually Step 3 should be this to accomodate those who do not have a >>>> passphrase on their private key: >>>> >>>> if (getConfiguration().getSftpPrivateKeyFile() != null && >>>> !getConfiguration().getSftpPrivateKeyFile().equals("")) >>>> { >>>> if (getConfiguration().getSftpPrivateKeyFilePassphrase() != null >>>> && !getConfiguration().getSftpPrivateKeyFilePassphrase().equals("")) >>>> { >>>> jsch.addIdentity(getConfiguration().getSftpPrivateKeyFile(), >>>> getConfiguration().getSftpPrivateKeyFilePassphrase()); >>>> } >>>> else >>>> { >>>> >>>> jsch.addIdentity(getConfiguration().getSftpPrivateKeyFile()); >>>> } >>>> } >>>> >>>> Should also mention that the private key file that I had was in openSSH >>>> format, I can test with a private key in SSH.com format at a later time as >>>> well. Putty-gen was used to generate all private/public key files and >>>> Globscape Secure FTP server was the SFTP server. >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/SFTP-Component-private-key---passphrase-for-connection-tp20711040s22882p20711165.html >>>> Sent from the Camel - Development mailing list archive at Nabble.com. >>>> >>>> >>> >> >> >
