All you have to do is to write the code to communicate with ssh-agent with its own protocol, ant call that code via get Public Key Blob() and get Signature().1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan.There is an API for enabling/disabling limiting unauthenticated connections.However, API's to set/change the limit numbers is missing since I only had a few hours for this task overall.Tel 81-22-723-2150 1-415-578-3454 Skype callto://jcraft/ Hi, I'm considering adding a way for my product to get identities from ssh-agent (via JNI) so it can pass them to JSch (a wonderful product! Before I go down that path, I wanted to ask if anyone can tell me if the following approach would work: - Create a class Identity Agent that implements Indentity and represents one identity retrieved from ssh-agent.
- Have is Encrypted() always return false as no passhprase nor decryption will be needed. It would be nice in that I wouldn't need to change JSch, but I may be misunderstanding the intent of the Identity interface. Thanks, --Steve I agree that java system properties only is not a good solution.So, even if it is implemented in jsch, it will not be functional if other persons run the same code from other hosts to the same destination host.Anyway, you can implement such a functionality in your application and wrap jsch with it, can't you? 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan.The specific problem is having multiple threads make concurrent connections to the same server.Some connections are rejected immediately because the earlier connections have not finished the authentication sequence.