ipwnponies / dotfiles

Settings and configuration for unix environment
1 stars 3 forks source link

ssh-agent forwarding doesn't work because a new ssh-agent is started on every host #8

Closed ipwnponies closed 7 years ago

ipwnponies commented 7 years ago

SSH agent forwarding is broken because a new ssh agent is spun up when connecting to a new machine. This sets clobbers the environment variabble SSH_AUTH_SOCK that is used for forwarding key challenge back through the ssh client.

https://github.com/ipwnponies/dotfiles/blob/8ab851cb89d1547286bed1ab284674156c6e938c/.config/fish/conf.d/ssh_agent.fish#L20-L28