Here are my informations:I have an SSH connection I use as a SOCKS5 proxy. It's annoying to have to reinitialize it everytime I wake-upon-computer.I've set ServerAliveInterval to 60 in ~/.ssh/config. I have not permission to add ClientAliveInterval and even if did I it would have exactly the same effects.The specific error message I get is Broken pipe. screen or tmux wouldn't help here, I would have to attach everytime which brings us back to square numero uno.autossh doesn't seem to work. I ran autossh -M 0 -DPORT alias and I see it in task manager, but the SSH connection doesn't seem to restart not even after waiting 5 minutes.I've read plenty of questions that say to use one of the three above options, but none of them address waking and suspending. I cannot put it in some bash initialization script because I only want it to happen once (when I log into the computer). But at the same time, I want my SSH connection to stay alive if it dies WHILE I'm on the computers. What combination of effects than I utilize to achieve my cause?
Keep an SSH connection persistent through waking and suspending of computer
ssh;suspend