switch script to root user
This commit is contained in:
parent
8856797051
commit
2018972aee
2 changed files with 4 additions and 5 deletions
|
|
@ -69,7 +69,7 @@ let
|
|||
|
||||
# MAIN SCRIPT
|
||||
echo "[ Creating ssh connection socket ]"
|
||||
$SSHCMD -MfNx dev@$Host
|
||||
$SSHCMD -MfNx root@$Host
|
||||
|
||||
echo "[ Opening ssh reverse proxy ]"
|
||||
PORT=$($SSHCMD -O forward -R 0:localhost:2222 null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue