aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)