I'm using Magit over Tramp and my git push commands fail because tramp doesn't forward my ssh-agent to the remote machine.
In pseudo code, it looks like I need to do the following:
tramp-methods["ssh"][tramp-login-args].prepend( ("-A") )
How do I do this without copy/pasting the entire tramp-methods
variable into my emacs init file? Or is there a better way to do this?
~/.ssh/config
to deal to this (from specific hosts) regardless of whether or not you're using Emacs to connect, by settingForwardAgent yes
for the host(s) in question. – phils Nov 21 '15 at 16:06