Commit Graph

14 Commits

Author SHA1 Message Date
phil-halley
d6295a6cbc Move channelHandlers to avoid data race (#59) 2018-04-04 13:06:36 -05:00
Manfred Touron
47df570d18 small api updates (#69)
These updates make it easier to implement and pass custom Session and
Context implementations

No compatibilty breaking, all tests pass
2018-01-09 12:15:16 -06:00
Anmol Sethi
c986e7ff5f fix timeout bug (#52)
Closes #51
2017-08-11 16:45:54 -05:00
Jeff Lindsay
48c9603bfc server: timeouts and context canceling on closed connections (#46)
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2017-07-24 16:25:45 -05:00
Jeff Lindsay
33ad2fe318 [proposal] ConnCallback (#36)
ConnCallback lets you wrap connection objects for timeouts and limiting
2017-07-12 12:27:56 -05:00
Matt Aitchison
b47c6daa4b server: first pass at Shutdown and Close (#34)
* server: first pass at Shutdown and Close
* server: remove unused struct field
* server: replace http reference in error

closes: #22
2017-05-22 16:11:06 -05:00
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