Executing command using Paramiko exec_command on device is not working
If the SSHClient.exec_command does not work, the first thing to test is to try (on one line): ssh user@host command That will use the same SSH API (the “exec” channel) as SSHClient.exec_command. If you are on Windows, you can use plink (from PuTTY packages) instead of ssh. If ssh/plink fails too, it indicates that your … Read more