title: "getaddrinfo failed" when connecting to SSH/SFTP server with Paramiko
body: <blockquote>
    <p>socket.gaierror: [Errno 11001] getaddrinfo failed</p>
  </blockquote>
  
  <pre><code>import paramiko
  ssh_client=paramiko.SSHClient()
  
  ssh_client.connect(hostname="10.198.2.217:22", username="tester", password="password")
  ftp_client=ssh_client.open_sftp()
  ftp_client.put('C:/Upload/2.txt', 'C:/sftp/data/')
  ftp_client.close()
  </code></pre>