So I have keys to some servers stored locally on my MacBook, but I work from inside a Virtual Machine a considerable amount of time, so I SSH to the VM with ssh -A
. This allows me to SSH to servers from inside the VM.
I recently started using tmux to manage my terminal windows better, but I've discovered an odd problem. While the initial window I open in tmux can use SSH, any additional opened windows cannot. ssh-add
shows that from inside this tmux window no connection can be opened to my SSH agent. Any ideas how to make tmux play nicely with SSH agent-forwarding?