If you run a command like this from host1:
$ ssh -N user@host2 -R 12201:localhost:22 \
-o ServerAliveInterval=10 -o ServerAliveCountMax=2
you can then, from host2, run:
$ ssh -p 12201 user@localhost
to connect back to host1.
| // ==UserScript== | |
| // @name Stay logged into RCLS | |
| // @namespace http://getzit.net/ | |
| // @version 0.1 | |
| // @description Stops the RCLS catalog page from logging out automatically. | |
| // @author Dan Getz | |
| // @match https://rcls.ent.sirsi.net/client/* | |
| // @grant none | |
| // ==/UserScript== |
If you run a command like this from host1:
$ ssh -N user@host2 -R 12201:localhost:22 \
-o ServerAliveInterval=10 -o ServerAliveCountMax=2
you can then, from host2, run:
$ ssh -p 12201 user@localhost
to connect back to host1.