tmux-resurrect
tmux-resurrect copied to clipboard
@restore-processes did not restore ssh process
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.