Skip to content

Instantly share code, notes, and snippets.

View freelancing-solutions's full-sized avatar
💯
Available

mobius-crypt freelancing-solutions

💯
Available
View GitHub Profile
@freelancing-solutions
freelancing-solutions / python_over_ssh
Created January 16, 2018 10:36 — forked from mattyjones/python_over_ssh
Execute a script located on a remote server over ssh using python
#! /usr/bin/env python
import secure
import pexpect
# the file containing the list of servers to log into
input_file = "script_list"
# The login creds
user = secure.USER