tweaks
This commit is contained in:
parent
5a0005d969
commit
ac7c56527d
@ -5,15 +5,17 @@ debug 0
|
|||||||
# Everything in this section obeys the same rules as ~/.ssh/config
|
# Everything in this section obeys the same rules as ~/.ssh/config
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
#
|
||||||
# Host server1
|
# Host server1
|
||||||
# Hostname 123.45.67.89
|
# Hostname 123.45.67.89
|
||||||
# User ubuntu
|
# User ubuntu
|
||||||
# LocalForward 10001 127.0.0.1:22
|
# LocalForward 12345 127.0.0.1:22
|
||||||
#
|
#
|
||||||
# Host server2
|
# Host server2
|
||||||
# Hostname 123.45.67.90
|
# Hostname 123.45.67.90
|
||||||
# User ubuntu
|
# User ubuntu
|
||||||
# LocalForward 10002 127.0.0.1:22
|
# Port 2222
|
||||||
|
# RemoteForward 54321 127.0.0.1:22
|
||||||
|
|
||||||
[passwords]
|
[passwords]
|
||||||
# Use this section at your own risk, because the passwords are stored in plaintext.
|
# Use this section at your own risk, because the passwords are stored in plaintext.
|
||||||
|
|||||||
@ -85,7 +85,7 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
install )
|
install )
|
||||||
ruroot
|
ruroot
|
||||||
which screen &>/dev/null || yum install -y screen || apt install -y screen
|
which screen &>/dev/null || yum install -y screen || apt install -y screen || echo "Couldn't install screen" && exit
|
||||||
mkdir -p /opt/tunnelkeeper/var
|
mkdir -p /opt/tunnelkeeper/var
|
||||||
mkdir -p /opt/tunnelkeeper/etc
|
mkdir -p /opt/tunnelkeeper/etc
|
||||||
if [[ "$BASEDIR" != '/opt/tunnelkeeper/' ]]; then
|
if [[ "$BASEDIR" != '/opt/tunnelkeeper/' ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user