Commit Graph

33 Commits

Author SHA1 Message Date
Jeff Lindsay
a2a474964c fixed/finished basic pty support, added an example, and included tests (#25)
* fixed/finished basic pty support, added an example, and included tests
* session: make the window channel have buffer of 1 and send initial window size on it
* _example/docker: added an ssh to docker-run example
* changes from review: let Reply handle WantReply, only allow setting sess.pty once
* circle: hopefully a working circleci config
2017-02-15 18:08:25 -06:00
Jeff Lindsay
a307f226ad Merge pull request #24 from gliderlabs/misc-progrium
fixing a type led to general example cleanup. also added a helpful comment.
2017-02-15 09:19:46 -06: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
Jeff Lindsay
f3131153bc Merge pull request #21 from hloeffler/master
output port
2017-02-04 16:51:04 -06:00
hloeffler
398834c640 output port 2017-02-04 22:45:40 +01:00
Jeff Lindsay
39bc88bc6d Merge pull request #15 from atlassian/belak/always-send-pty-response
Always respond to PTY requests
2017-02-03 18:42:23 -06:00
Jeff Lindsay
3c20372393 Merge pull request #19 from atlassian/belak/add-server-version
Add ServerVersion as an option in the config
2017-02-03 18:25:05 -06:00
Kaleb Elwert
80be538d5c Add ServerVersion as an option in the config 2017-02-03 16:22:13 -08:00
Jeff Lindsay
d6ddd5d5dc Merge pull request #18 from atlassian/belak/ensure-exit-only-called-once
Ensure Session.Exit can only be called once
2017-02-03 18:19:25 -06:00
Kaleb Elwert
71d4b985d1 Ensure Session.Exit can only be called once 2017-02-03 16:00:28 -08:00
Jeff Lindsay
7b69159c43 Merge pull request #16 from atlassian/belak/exec-reply-reordering
Send the exec/shell reply before starting the session
2017-02-03 17:28:36 -06:00
Kaleb Elwert
b9687a28f0 Always respond to PTY requests
Fixes #13
2017-02-03 15:26:58 -08:00
Kaleb Elwert
8fb939fd33 Send the exec/shell reply before starting the session
Fixes #8
2017-02-03 15:25:07 -08:00
Jeff Lindsay
7bc24bc5e0 Merge pull request #6 from hloeffler/master
make GoLint happy
2016-12-20 15:18:13 -06:00
hloeffler
7659e45133 make GoLint happy... 2016-12-20 22:16:16 +01:00
hloeffler
78c9487526 "Typo" to make GoLint happy 2016-12-20 22:15:39 +01:00
Jeff Lindsay
a57b3d9382 Update README.md 2016-12-20 12:06:43 -06:00
Jeff Lindsay
d50a1bf50f Merge pull request #5 from hloeffler/examples
Add Examples
2016-12-19 13:47:15 -06:00
hloeffler
4f9bbdca20 change import 2016-12-19 20:37:23 +01:00
hloeffler
1a9e87f4d3 add public_key example 2016-12-19 20:34:40 +01:00
hloeffler
1f17e45e60 add simple Hello "world" 2016-12-19 20:27:36 +01:00
Jeff Lindsay
06c08068be Merge pull request #4 from hloeffler/master
avoid panic at KeysEqual() if one of the keys is nil
2016-12-18 17:41:10 -06:00
hloeffler
8fc7fced07 fix test 2016-12-18 18:47:50 +01:00
hloeffler
2a34fe962c add a test 2016-12-18 09:50:44 +01:00
hloeffler
794990a406 avoid panic at KeysEqual() if one of the keys is nil 2016-12-17 22:36:48 +01:00
Jeff Lindsay
cea7cfb974 Merge pull request #2 from yanc0/patch-1
import log package and go fmt README example
2016-12-03 13:05:51 -06:00
Yann Coleu
9026f3d54a import log package and go fmt README example 2016-12-03 16:08:19 +01:00
Jeff Lindsay
1681333ee9 Merge pull request #1 from mvrilo/master
Fix argument name
2016-11-30 20:13:37 -06:00
Murilo Santana
42d6dfc2a9 fix argument name 2016-11-30 23:56:46 -02:00
Jeff Lindsay
c3f37d4334 more docs, license, readme.
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2016-11-30 16:06:57 -06:00
Jeff Lindsay
7f8cc2a19a docs and examples
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
2016-11-29 17:23:42 -06:00
Matt Aitchison
dd02304d04 use Marshal method on publicKey instead of Marshal func
Fixes a panic caused by an ed25519 key.
2016-10-04 19:06:46 -05:00
Jeff Lindsay
adbd4da93a initial commit 2016-10-03 16:54:17 -05:00