News for hackers. Stuff that matters.

iapyeh

Show HN: SSHScript – shell script-like Python script

https://iapyeh.github.io/sshscript/

I have many Python scripts which run commands and deal with outputs on localhost and remote hosts. Between these scripts, there are many common routines. Eg. making ssh connections, execution and collecting data.Based on the subprocess and Paramiko, I created the SSHScript. With it, I could embed shell commands in Python scripts. This kind of script is converted to a regular Python script by...

( Read More... | 1 comment | 3 points | on HN )