Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fabric asks for password even though I can SSH using credential
- $ fab live pull
- [mysite.com] Executing task 'pull'
- [mysite.com] run: test -d proj
- [mysite.com] run: test -d proj/.git
- [mysite.com] run: git pull origin master
- ...
- $ fab staging pull
- [dev.mysite.com] Executing task 'pull'
- [dev.mysite.com] run: test -d proj
- [dev.mysite.com] Login password:
- def staging():
- env.hosts = ['dev.mysite.com']
- env.user = 'bamboo'
- env.key_filename = '~/.ssh/id_dsa_bamboo'
- $ ssh bamboo@dev.mysite.com -i ~/.ssh/id_dsa_bamboo
- Last login: Wed Apr 11 06:24:28 2012 from xxx.xxx.xx.xx
- [bamboo@dev ~]$
- Host dev.mysite.com
- User bamboo
- IdentityFile ~/.ssh/id_dsa_bamboo
- ForwardAgent yes
- ssh.util.log_to_file("paramiko.log", 10)
Add Comment
Please, Sign In to add comment