Commit Graph

8 Commits

Author SHA1 Message Date
Mahmood Ali
20a454724d Support for local port forwarding (#38)
* Support local port forwarding
* refactor testSession to return ssh client as well
* Tests for local port forwarding
2017-04-28 17:54:12 -05:00
Jeff Lindsay
1051a0d154 agent forwarding support (#31)
* agent: added agent forwarding support with an example
* context: encode session id to hex string
* agent: ensure conn doesn't change in closure as loop iterates
* tests: use HostKeyCallback in ClientConfig
* README: noting examples in _example
* agent: documented exported names, added constants for temp file creation

Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2017-04-14 14:47:40 -05:00
Jeff Lindsay
9b56478e13 contexts (#29)
* context: working mostly tested context implementation and refactoring to go with it
* _example/ssh-publickey: updating new context based callbacks
* godocs related to public api changes for contexts
* context: converting []bytes to strings before putting into context

Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2017-03-14 14:13:03 -05:00
Jeff Lindsay
0922cadde6 fixing a type led to general cleanup. also added a comment.
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2017-02-14 18:30:43 -06:00
Kaleb Elwert
80be538d5c Add ServerVersion as an option in the config 2017-02-03 16:22:13 -08:00
Murilo Santana
42d6dfc2a9 fix argument name 2016-11-30 23:56:46 -02:00
Jeff Lindsay
7f8cc2a19a docs and examples
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2016-11-29 17:23:42 -06:00
Jeff Lindsay
adbd4da93a initial commit 2016-10-03 16:54:17 -05:00