Please try; 1. Set the tranport.vfs.FileURI parameter only with user name. Example - vfs:ftp://user-name@host/home/user/path/to/file.xml
2. Copy the private key into ~/.ssh. 3. Plant the public key into ~/.ssh/authorized_keys in remote server. Hope this helps. Rajika On Wed, Aug 7, 2013 at 3:12 PM, Hiranya Jayathilaka <[email protected]>wrote: > Hi Rajika, > > Do you have any idea how this is done (connecting to FTP servers with > public keys)? > > Thanks, > Hiranya > > On Aug 7, 2013, at 5:28 AM, Ilya Rodionov (JIRA) <[email protected]> wrote: > > > [ > https://issues.apache.org/jira/browse/SYNAPSE-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731916#comment-13731916] > > Ilya Rodionov commented on SYNAPSE-507: > --------------------------------------- > > Can't find any samples where that feature is using. How we can set the > identity file to use in configuration? > > Improve vfs sftp transport to handle login with IdentityFile > (public/private keys) > > ---------------------------------------------------------------------------------- > > Key: SYNAPSE-507 > URL: https://issues.apache.org/jira/browse/SYNAPSE-507 > Project: Synapse > Issue Type: Improvement > Reporter: Otto Frost > Fix For: 2.0 > > Original Estimate: 24h > Remaining Estimate: 24h > > In many enterprises it is only allowed to login with IdentityFile > public/private key pair, not username/password. > Therfore it is important to have support for logging on with IdentityFile. > It would also be nice to have support for X.509 certiifcates for the vfs > https transport. > > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- > Hiranya Jayathilaka > Mayhem Lab/RACE Lab; > Dept. of Computer Science, UCSB; http://cs.ucsb.edu > E-mail: [email protected] <[email protected]>; Mobile: +1 (805) 895-7443 > Blog: > http://techfeast-hiranya.**blogspot.com<http://techfeast-hiranya.blogspot.com/> > >
