tmux-resurrect icon indicating copy to clipboard operation
tmux-resurrect copied to clipboard

@restore-processes did not restore ssh process

Open rbhanot4739 opened this issue 7 years ago • 5 comments

I was going through the documentation and saw this option to restore additional programs and ssh was one of them. So i tried but i was not able to restore the ssh sessions after i started the tmux after the reboot.

All my panes with their contents were restored, but the pane having ssh didn't and failed with "no route to host" and this error is not really correct because i can easily login manually. Below is how my setup looks in tmux.conf

set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-processes 'ssh'
run '~/.tmux/plugins/tpm/tpm'

I have keys setup properly so my ssh sessions don't really need the password.

rbhanot4739 avatar Aug 06 '18 07:08 rbhanot4739