Saturday, 30 July 2022

Show HN: SSHScript – shell script-like Python script https://bit.ly/3vuWHq7

Show HN: SSHScript – shell script-like Python script 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 SSHScript for execution . Working with SSHScript, I feel like writing shell scripts with Python and all Python packages. For backend engineers who want to automate tasks with Python scripts instead of shell script s , hope you enjoy the SSHScript. https://bit.ly/3vthjit July 30, 2022 at 10:28AM

No comments:

Post a Comment