[JSch-users] addIdentity: on android getting invalid privatekey: [B@428ff138 with known good RSA ke
Status: Alpha
Brought to you by:
ymnk
From: Gerry R. <gr...@ve...> - 2013-11-10 20:31:10
|
Using JSch 1.50 I'm trying to get publickey auth working on arm android. I have password auth working fine already. So I added addIdentity( keypath ) but it always errors even with known good RSA key. I tested the key both on the phone using ConnectBot and on two linux machines using openssh. The key works fine from all three. When I use the addIdentity method and pass the key path I'm always getting an error, invalid privatekey: [B@428ff138 Is there something else I need to add besides addIdentity to make this work? |