SSH Fingerprint and Hostkey with Paramiko in Python
Following on from SSH and SFTP with Paramiko & Python, I recently had the need to gain a remote SSH server's fingerprint and hostkey for verification purposes. This is achievable through setting up a socket, and then applying paramiko.Transport over our established socket. First, we include the