I\'ve been trying to get this to work but keep getting the same errors. I\'ve tried the fqdn and ip of the host. I\'ve tried to pass it with credentials and without. I\'ve l
before ssh.connect you need: ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
Then you need to do something with stdout.read() like:
print stdout.read()