I have been looking for a solution that allows one to migrate an ssh session from one Linux box to another. I prefer an open source or free solution, but I can't even find a commercial solution either. I suspect this is not possible because an ssh session is closely tied to tty, port, and such.
Basically I have a setup that utilizes haproxy with keepalived which hands over incoming ssh connection to one Linux box in a pool of Linux boxes (hosts) with haproxy still acting as the reverse proxy / load balancer which doesn't allow direct connection from the ssh client to the ssh server (I read elsewhere this is possible). But in case of a failure of a Linux box, there is no way to migrate ssh sessions on said Linux box to one of the survivors.
Certainly the user can try to reconnect and would get a new ssh session but this is not what our users want.
Does anybody have a solution?