I have a server in which many machines are managed. I am able to connect and run commands on server using paramiko, but i am not able to login to machines on that server. Script :-
#!/usr/bin/python #to view time of EMS import paramiko ssh = paramiko.SSHClient() enter code heressh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect('x.x.x.x', username = 'AAA', password = 'BBB') stdin, stdout, stderr = ssh.exec_command('date') print(stdout.read()) client = paramiko.SSHClient() ssh.connect('y.y.y.y', username= 'CCC', password='DDD') socket.error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond