From 95571edd6e1734a1628916b73d15ab3eda37186b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 23 Sep 2014 11:57:11 -0400 Subject: more logging --- ssh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3