title: Python: SSH connection works with terminal but not in Python script
body: <p>When I am using the Terminal with:</p>
  <pre><code>ssh user@ip-adress
  </code></pre>
  <p>and enter my password</p>
  <pre><code>ssh-password
  </code></pre>
  <p>then everything works fine and a connection gets established which I can close with <code>exit</code>.</p>
  <p>But when I am trying to do that in Python:</p>
  <pre><code>import sshtunnel
  from sshtunnel import SSHTunnelForwarder
  
  sshtunnel.SSH_TIMEOUT = 5.0
  sshtunnel.TUNNEL_TIMEOUT = 5.0
  
  server = SSHTunnelForwarder(
      'ip-adress', 22,
      ssh_username=&quot;user&quot;,
      ssh_password=&quot;ssh-password&quot;,
      remote_bind_address=('127.0.0.1', 3306)
  )
  
  server.start()
  
  print(server.local_bind_port)
  </code></pre>
  <p>I'll receive an error like:</p>
  <pre><code>sshtunnel.BaseSSHTunnelForwarderError: Could not establish session to SSH gateway
  </code></pre>
  <p>Why?</p>