0
Good afternoon, you guys.
I am using this code to update some servers here in my company, via ssh:
http://alissonmachado.com.br/python-e-ssh/
on line 11, we have:
self.ssh.connect(hostname='ip_do_servidor',username='Administrator',password='senha_servidor')
and on line 22, we have:
ssh.exec_cmd("update image force http://link_FTP")
The question is as follows: How do I run this command on not one, but on multiple servers at the same time? a list.
I think I expressed myself badly. Actually, I meant: It rotates in one, then another, then another, then another.. No need for me to put the IP.
– Diego Neto