You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
601 B
25 lines
601 B
#!/usr/bin/python
|
|
import argparse
|
|
|
|
|
|
def connection_from_config(name):
|
|
"""Create a connection from a Host entry in the .ssh/config file"""
|
|
pass
|
|
|
|
|
|
def scp(connection, src, dst):
|
|
"""Function to copy files from src to dst using connection"""
|
|
pass
|
|
|
|
|
|
def exec_remote(connection, command):
|
|
"""Function to execute specified command on conection"""
|
|
pass
|
|
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument('cert_path')
|
|
parser.add_argument('key_path')
|
|
parser.add_argument('-d', '--dry', action='store_true')
|
|
args = parser.parse_args()
|