|
|
@@ -64,9 +64,10 @@ curl -X POST -F "key=$keycontent" \
|
|
|
if [[ "$OSTYPE" != darwin* ]]; then
|
|
|
echo "/usr/bin/autossh -N -f -M 7$PORT -oPubkeyAuthentication=yes -oPasswordAuthentication=no -oLogLevel=error -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no -i $keyfile -R 6$PORT:localhost:22 $tunnel_user@$serverhost -p 22" > $tunnelfile
|
|
|
sudo mv $installerpath/ssh-tunnel.service /etc/systemd/system/ssh-tunnel.service
|
|
|
-
|
|
|
+
|
|
|
sudo systemctl enable ssh-tunnel
|
|
|
sudo systemctl start ssh-tunnel
|
|
|
+ read -p "que pasa aqui"
|
|
|
fi
|
|
|
|
|
|
|