Environment Server OS: Ubuntu Server 11.04 on VirtualBox IDE: Eclipse Indigo Problem Definition I ran into two problems during my experimentation. First of all, how do I tell Commons-VFS to use a specific directory to find private ssh key in Windows OS environment. Second, how to use passphrase with VFS. After searching in Google and browsing through VFS code base I've found out that you can set Java system environment variable named vfs.sftp.sshdir to point to your custom ssh key location. That solved my first problem.
Read full article from Using Commons VFS to do SFTP | Iqbalyusuf's Blog
No comments:
Post a Comment