3
votes
1answer
306 views

Is it possible to have zsh+keychain+tmux not ask for keys?

I'm using tmux and zsh, and I've recently been learning about ssh-agent and keychain. From the manpage for zsh, it says that it will source .zlogin only if the shell is, well, a login shell. ...
1
vote
2answers
268 views

Is it possible to spawn an ssh-agent for a new tmux session?

I've seen lots of hacks for re-establishing contact with a GUI session's SSH agent from within tmux (and screen) sessions. I'm wondering if it's possible to de-couple from the GUI and spawn an ...
3
votes
1answer
730 views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
4
votes
2answers
2k views

tmux: Cannot SSH from inside tmux, even though I have agent-forwarding (ssh -A) on [duplicate]

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 ...
14
votes
6answers
6k views

How can I get ssh-agent working over ssh and in tmux (on OS X)?

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...