2018-06-05 15:05:19 -04:00
|
|
|
# sshjump
|
|
|
|
Bash scripts to ease setting up reverse ssh tunnel for ssh to hosts behind nat
|
2018-06-05 15:06:28 -04:00
|
|
|
|
|
|
|
You must install sqlite3 and autossh
|
|
|
|
|
|
|
|
Debian/Ubuntu
|
|
|
|
apt install sqlite3 autossh
|
|
|
|
|
|
|
|
CentOS
|
|
|
|
yum install sqlite3 autossh
|
2018-06-05 15:28:02 -04:00
|
|
|
|
|
|
|
I will update with systemd scripts eventually
|
|
|
|
|
|
|
|
To use the main script once all devices are connected you can type "./sshjump.new list" this will list all hosts that have been registered
|
|
|
|
|
|
|
|
The report printers first the hostname then the ID
|
|
|
|
|
|
|
|
If you want to connect with ID you type "./sshjump.new id user $id" ex "./sshjump.new id nick 123321456"
|
|
|
|
|
|
|
|
If you want to connect with hostname you type "./sshjump.new host user hostname" ex "./sshjump.new host nick test.test.com"
|