jsch.addIdentity(InputStream) please
Status: Alpha
Brought to you by:
ymnk
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.