r/Python • u/DevOps-Journey • Feb 08 '21
Tutorial Creating SSH Sessions with Python - Paramiko Module
https://www.youtube.com/watch?v=AkcxJWbHV0w
29
Upvotes
6
Feb 08 '21
time ago i needed to make an automated parsing of files from some servers and with Paramiko was easy and fun!
1
u/catorchid Feb 09 '21
Good if you work only on respected operating systems that have POSIX support. When writing multi platform code I found paramiko to be very useful (even if a bit low-level in few places)
1
0
u/androiddrew Feb 09 '21
Yeah I just go straight to the sh package whenever I want to build something that needed to do ssh
4
u/DevOps-Journey Feb 08 '21
Hey everyone how's it going!
Made a video on how you can connect to hosts and run commands using the SSH module Paramiko.
As a DevOps/Network Engineer, I find this module very powerful. I'm able to pull information and send commands to the infrastructure I manage.
I hope there are some Sysadmins out there that will find this useful!
Code: https://devopslifecycle.com/lessons/18/python-ssh-client-paramiko-ssh-with-python