Show HN: SSHScript – shell script-like Python script https://ift.tt/b6XgeBJ

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://ift.tt/6eoyP7L July 30, 2022 at 02:28AM

Comments

Popular posts from this blog