I already know there are ssh modules for Python, that's not for what I'm looking for. What I want to have is an python script to do the following:
Thanks in advance,
Best regards,
Use paramiko
, see http://jessenoller.com/2009/02/05/ssh-programming-with-paramiko-completely-different/ for a through example of using it.
Use paramiko or the libssh2 python bindings.
now the popular solution is Fabric
If you're actually looking for a module that lets you automate CLI interaction, there's pexpect
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With