UWNetworksLab / colony

Apache License 2.0
5 stars 1 forks source link

Add initial attempt at an ssh plugin #16

Closed jpevarnek closed 8 years ago

jpevarnek commented 8 years ago

First of all, full credit for the build work here goes to @Shanjian

This adds a basic SSH plugin that will work with username/password auth. Calling connect gets you a connection object that then has methods for either executing a command or disconnecting.

Coming soon: auth by key

Review on Reviewable

jpevarnek commented 8 years ago

Review status: 0 of 161 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful.


client/plugin-src/cordova-plugin-ssh/src/android/Ssh.java, line 90 [r1] (raw file): This throws an exception and it ends up getting switched to a rejected promise.


client/plugin-src/cordova-plugin-ssh/src/android/Ssh.java, line 108 [r1] (raw file): Done.


client/plugin-src/cordova-plugin-ssh/ssh.js, line 6 [r1] (raw file): Done.


Comments from the review on Reviewable.io