jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSCH SFTP login using two factor authentication
 
Similar Threads
Using FTPS (not SFTP) in Java?
Ssh or sftp sever
Connecting two linux machines using smb
Search for files over sFTP
HELP! : Newbie Problems with JSCH