Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 jsch.addIdentity(InputStream) please

open
nobody
None
5
2008-02-05
2008-02-05
Miguel De Anda
No

For consistency with the setKnownHosts (and because sometimes we need to keep all of this stuff in memory instead of a file), it would be nice to able to call addIdentity with an inputstream instead of just a string:filename.

jsch.addIdentity(InputStream)

- although, looking at the code, i'm not sure why both the private and public key files are needed, i'm not an expert at ssh, but I'd think that only 1 is needed at each end.

Discussion