This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes SFTP file upload to server using SSH 2 key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "SFTP file upload to server using SSH 2 key" Watch "SFTP file upload to server using SSH 2 key" New topic
Author

SFTP file upload to server using SSH 2 key

Matthew Snow
Ranch Hand

Joined: May 02, 2007
Posts: 80
I need to connect and upload to a remote sftp server using a ecdsa-sha2-nistp256 key. Unfortunately, it seems Jsch doesn't support ECDSA yet. Are there any other libraries that I could use that support SSH 2? Thanks.


When you break the big rules, you get a lot of little rules.
Matthew Snow
Ranch Hand

Joined: May 02, 2007
Posts: 80
I've tried Apache's VFS (commons-vfs), but it relies on Jsch as a dependency, and so does not support ECDSA.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SFTP file upload to server using SSH 2 key
 
Similar Threads
Remote File integrity
Ssh or sftp sever
SFTP in a Java application
where to place the Public key
Implementing SSH for file upload