commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajika Kumarasiri <raj...@wso2.com>
Subject Re: [VFS] Public key authentication support for sftp
Date Fri, 19 Mar 2010 09:56:22 GMT
I think I figured out the solution. If you don't provide the password in the
connection url after the username vfs-sftp will check for the public key
authentication.

Rajika

On Thu, Mar 18, 2010 at 3:10 PM, Rajika Kumarasiri <rajika@wso2.com> wrote:

> hi,
> Does the commons-vfs sftp has the support for specifying public key without
> specifying the password for authentication?
> I came across the class [1] and also found that the underline ssh support
> of common-vfs is powered by Jsch lib[2] which has the support for specifying
> the public key for authentication.
> Is there is any sample or any document where I can look at ?
>
> Thanks in advance,
> Rajika
>
> [1] -
> https://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/dependencies/commons-vfs/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java
> [2] -.http://www.jcraft.com/jsch/
>
> --
> http://rajikak.blogspot.com/
>



-- 
http://rajikak.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message