fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Problems with 'git pull' and key authentication


From: Anthony Roscoe
Subject: [Fab-user] Problems with 'git pull' and key authentication
Date: Sun, 30 May 2010 11:04:16 -0400

When I deploy by hand I ssh into my server and call 'git pull', enter my 
passphrase and then restart my wsgi server. With Fabric I am trying to the same 
thing. Below is an example of the code I am using:

env.user = 'myuser'
env.hosts = ['33.333.333.333']

def deploy():
    with cd('my-project'):
        run('git pull')
        run('supervisorctl restart uwsgi')

When I call fab deploy this is the error I get:

[33.333.333.333] run: git pull
[33.333.333.333] err: Permission denied (publickey).
[33.333.333.333] err: fatal: The remote end hung up unexpectedly

Been looking around for a solution to this for awhile and figure I would try 
the mailing list. Any ideas? Could it be that Fabric isn't recognizing the 
passphrase prompt?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]