Hi all,
From within python script, I created a ssh handler to a remote machine whose interface is down and then using the ssh handler, I executed on the remote machine the following command: service network restart

But the remote ssh session breaks and the service network restart is not successful. The routes associated with the interface that were removed when the interface was down are not brought back even after doing service network session remotely.

Any one please help me

do you have the code and the errors with you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.