ranjith520 / remote-linux-monitor

Automatically exported from code.google.com/p/remote-linux-monitor
0 stars 0 forks source link

Possibility to connect over ssh with key authentication #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a possibility to connect over ssh with key authentication?

Original issue reported on code.google.com by rene.anc...@gmail.com on 28 Jan 2013 at 12:12

GoogleCodeExporter commented 9 years ago
I have no plans to implement it.  However, If you really need it JSch does have 
the capability and it wouldn't take much code tweaking to make it work.

String privateKey = ".ssh/id_rsa";
jsch.addIdentity(privateKey);

Original comment by dbothwell.home@gmail.com on 28 Jan 2013 at 3:10

GoogleCodeExporter commented 9 years ago
It would be awesome to have this, it is particularly useful when dealing with 
servers in the cloud where key authentication is the norm.

Original comment by Gabriele...@gmail.com on 3 Mar 2014 at 8:26

GoogleCodeExporter commented 9 years ago
I just included this functionality in my latest build.

Original comment by dbothwell.home@gmail.com on 5 Jan 2015 at 7:50

Attachments: