← Back to Upcase

Tmux and passphrase for ssh key


(Ben Smith) #1

First of all thanks for an excellent course on tmux, I’ve found it a great intro so far.

One problem I’m having is that any git commands I run from inside a tmux session prompt for my ssh key passphrase unless I run ssh-add but this still involves doing it once at the beginning of a session. Is there anyway to avoid this step?


(Chris Toomey) #2

I’ve not run into this myself, so I don’t know specifically how to solve it. My first guess would be this has to do with reattach-to-user-namespace. Do you have that installed / active in your tmux.conf?


(Ben Smith) #3

That has done the trick, thanks!