aboutsummaryrefslogtreecommitdiffstats
path: root/ssh.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-23 11:57:11 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-23 11:57:11 -0400
commit95571edd6e1734a1628916b73d15ab3eda37186b (patch)
tree0aaa7918426bc738f27c100d2041133d87494dd9 /ssh.py
parent96a8d924c37be6dc8f3d12fdc8eb33111930554d (diff)
downloadpython-termcast-server-95571edd6e1734a1628916b73d15ab3eda37186b.tar.gz
python-termcast-server-95571edd6e1734a1628916b73d15ab3eda37186b.zip
more logging
Diffstat (limited to 'ssh.py')
-rw-r--r--ssh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh.py b/ssh.py
index eafa861..7eb5aa7 100644
--- a/ssh.py
+++ b/ssh.py
@@ -111,7 +111,9 @@ class Connection(object):
return
if not self.initialized:
- self.chan.send(prev_buf)
+ print("sending %d bytes", len(prev_buf))
+ sent = self.chan.send(prev_buf)
+ print("successfully sent %d bytes", sent)
self.initialized = True
self.chan.send(data)