Update autossh

pull/31/head
Ceramicskate0 2019-06-25 19:28:53 -04:00 committed by GitHub
parent 67d125b8e9
commit af33784c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ Local Port: Local port to bind tunnel (Default 22)\n \n" 16 60 4\
read -r autossh_remoteport read -r autossh_remoteport
read -r autossh_localport read -r autossh_localport
touch /etc/config/autossh touch /etc/config/autossh
uci set autossh.@autossh[0].ssh="-i /root/.ssh/id_rsa -N -T -R "$autossh_remoteport":localhost:"$autossh_localport" "$autossh_host" -p "$autossh_port"" uci set autossh.@autossh[0].ssh="-i /root/.ssh/id_rsa -N -T -R "$autossh_remoteport":localhost:"$autossh_localport" "$autossh_host" -p "$autossh_port" "
uci commit autossh uci commit autossh
rm $CONF rm $CONF
};; };;