diff --git a/twsproxy/__init__.py b/twsproxy/__init__.py
index 8e1e014b69a66e42df69362fd92a26040bd75c63..95eeb0756b9bf4eda38f104e0f639bd6dec3f1c9 100644
--- a/twsproxy/__init__.py
+++ b/twsproxy/__init__.py
@@ -66,6 +66,7 @@ class TWSProxy(threading.Thread):
                 return (None,None)
         else:
             logger.error('Failed to authenticate to the SSH Tunnel')
+            logger.error(header)
             self.csock.close()
             closed.set()
             return (None,None)