Web Hosting Forum - Net Hosting Talk

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

Help SSH connection problem with VPN

Antoniovnp

Novice
Member
Hi,

I'm a Tmux user, but when I launch my VPN connection command on my VPS, I lose the SSH connection in a Tmux session because my computer can't communicate with the VPS as its IP changes.

Thanks
 
  • Advertisement
  • Then connect to the new IP and attach your session to the already running tmux session. Maybe you can hack with Autossh or a similar tool, but I assume it should go with the manual approach if you switch sporadically between VPN and no VPN.
     

    Advertisement

    Back
    Top