Skip to content

Instantly share code, notes, and snippets.

View rayburgemeestre's full-sized avatar

Ray Burgemeestre rayburgemeestre

View GitHub Profile
@codref
codref / go-ssh-reverse-tunnel.go
Last active October 23, 2023 13:32
Go SSH reverse tunnel implementation (SSH -R)
/*
Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command:
ssh -R 8080:127.0.0.1:8080 operatore@146.148.22.123
which opens a tunnel between the two endpoints and permit to exchange information on this direction:
server:8080 -----> client:8080
@blackjack
blackjack / install.sh
Last active August 4, 2016 12:45
Tomerge - tool that shows what should you merge
#!/bin/bash
set -e
sudo cp tomerge /usr/local/bin
cp tomerge.yaml ~/.config/tomerge.yaml
$EDITOR ~/.config/tomerge.yaml