Commit Graph

7 Commits

Author SHA1 Message Date
Christian Schwarz
ec4284f80c sshbytestream: fix semantics when ssh connection dies
in the Wait()ing goroutine, we create an instance of our own error
containing WaitErr + stderr excerpt. Only if the remote command exits
non-zero.

io.EOF is the error we get as soon as the other end of the pipe
(the ssh command) has died.
=> wait for it in the ReadWriter methods.
2017-04-30 23:47:12 +02:00
Christian Schwarz
2e6dc26993 sshbytestream: IdentityFile and custom SSHCommand. 2017-04-30 23:46:59 +02:00
Christian Schwarz
fd24096137 Decouple model and sshbytestream. 2017-04-29 20:09:09 +02:00
Christian Schwarz
d9ecfc8eb4 Gofmt megacommit. 2017-04-26 20:29:54 +02:00
Christian Schwarz
69f8e7cfc3 Implement chunking.
Move from rpc to separate util package.
2017-04-15 17:07:32 +02:00
Christian Schwarz
a790f8ee89 Implement ssh-based byte stream transport. 2017-04-15 15:43:50 +02:00
Christian Schwarz
123becbd22 Interface wireframe 2017-04-14 19:26:32 +02:00