This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes JSCH SFTP login using two factor authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JSCH SFTP login using two factor authentication" Watch "JSCH SFTP login using two factor authentication" New topic
Author

JSCH SFTP login using two factor authentication

Roshan Kumar
Greenhorn

Joined: Feb 04, 2012
Posts: 2
I am trying to connect to SFTP server using JSCH, server is configured for two factor authentication. But I am unable to find any option in JSCH to connect to the server using both password and keys at a time. Help me if anyone knows how to connect programmatically to SFTP server using two factor authentication using either JSCH or any other Java package.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSCH SFTP login using two factor authentication