"No hostkey for host - Stack Overflow
stackoverflow.com › questions › 53864260Dec 20, 2018 · > sftp username@host If you get prompted for password or get logged in, you are able to connect to that host from that machine. If not try checking if that host is available using netcat on port 22, you'd get timeout or broken pipe if host is not available >nc -v host 22 I recommend debugging the pysftp or paramiko packages only after that.