Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created October 4, 2014 00:28
Show Gist options
  • Save danlamanna/a085c8a57b94ffd8fa22 to your computer and use it in GitHub Desktop.
Save danlamanna/a085c8a57b94ffd8fa22 to your computer and use it in GitHub Desktop.
from fabric.api import *
env.use_ssh_config = True
env.hosts = ["athos"]
env.user = "root"
env.key_filename = "/home/dan/.ssh/id_rsa"
env.password = ""
env.port = 7491
def testlive():
run("ls")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment