fabric/fabric — Issue #562: SSH agent forwarding error
Author: jravetch
Created: 2012-02-16 05:06:26+00:00
State: open

I enabled ssh agent forwarding with fab 1.4 with env.forward_agent = 'True' and all seems fine, except I receive an odd error during code shipment:

out: Authentication response too long: 3577407571
out: fatal: The remote end hung up unexpectedly

Fab does properly forward the agent when pulling code from github, so not sure what's going on.

Before fab 1.4, I used this function to get around the key forwarding issue:

def sshagent_run(cmd):
local('ssh -A %s@%s "%s"' % (env.user, env.host, cmd))

Any idea what's going on?