def update_json(): """ Update servers from remote server """ action('Servers getting from remote server') scp_get('servers.json', home_folder) success('Servers got from remote server')
def get_file(remote, local): """ Send file by scp """ scp_get(remote, local)