Created
August 25, 2015 09:08
-
-
Save pniederlag/84f38dd15e440556a22f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dummy Test Repo to test fabric/paramiko ssh_config problems | |
http://www.fabfile.org | |
fab hello | |
# should work without password prompt when you have a key on h12.niekom.de | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import with_statement | |
from fabric.api import local, settings, abort, run, cd, env | |
from fabric.contrib.console import confirm | |
env.use_ssh_config = True | |
env.hosts = ['h12.niekom.de'] | |
def hello(): | |
run ("echo 'Hello world!'") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment