Suppose I'm consoled into a Juniper device and from there, I ssh to another network device. Then on that remote device I do something that makes that device unreachable (which doesn't cause a TCP-FIN or RESET to be sent back to the local device). How do I "escape back" to the local device I'm consoled into? Otherwise it just appears that my local console port is hung, where it's really the remote device that's unreachable.
On a Cisco device, I'd use the escape character (ctrl-shift-6, x) to be sent back to the local device. How do I do that on Juniper?
Here are the things I've thought of?
-wait a few hours (current method, not really a good idea)
-reboot local device (bad)
-tcp keepalives (not sure how to implement on Juniper)
-outbound exec timeouts (not sure how to implement on Juniper)