(function (d) {
var w = d.documentElement.offsetWidth,
t = d.createTreeWalker(d.body, NodeFilter.SHOW_ELEMENT),
b;
while (t.nextNode()) {
b = t.currentNode.getBoundingClientRect();
if (b.right > w || b.left < 0) {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # local tunnel (for connecting remote from local) | |
| ssh -f -N -L{LOCAL-PORT}:{DEST-IP}:{DEST-PORT} -l {JUMP-HOST-USER} {JUMP-HOST-IP}:{JUMP-HOST-PORT} | |
| # reverse tunnel (for connecting local from remote) | |
| ssh -f -N -R {LOCAL-PORT}:{DEST-IP}:{DEST-PORT} -l {LOCAL_USER} {LOCAL-IP}:{LOCAL-PORT} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host github.com | |
| User git | |
| Hostname github.com | |
| PreferredAuthentications publickey | |
| IdentityFile /home/user/.ssh/id_rsa |