Skip to content

Instantly share code, notes, and snippets.

View talflon's full-sized avatar

Daniel Getz talflon

View GitHub Profile
// ==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==
@talflon
talflon / ssh-back-over-ssh.md
Last active February 22, 2017 18:25
Tunneling SSH back through another SSH

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.