Paramiko “Unknown Server”
I experienced the same issue and here’s the solution that worked out for me: import paramiko client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(‘127.0.0.1’, username=username, password=password) stdin, stdout, stderr = client.exec_command(‘ls -l’) This is to set the policy to use when connecting to a server that doesn’t have a host key in either the system or local HostKeys … Read more