swap to dev in ssh script
This commit is contained in:
parent
2018972aee
commit
0d954f0c60
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ let
|
||||||
echo "[ Reverse port opened on $PORT ]"
|
echo "[ Reverse port opened on $PORT ]"
|
||||||
echo "[ Pushing local $LFolder to the remote $RFolder ]"
|
echo "[ Pushing local $LFolder to the remote $RFolder ]"
|
||||||
$SSHCMD null "if [[ ! -d $RFolder ]]; then mkdir -p $RFolder; fi"
|
$SSHCMD null "if [[ ! -d $RFolder ]]; then mkdir -p $RFolder; fi"
|
||||||
$SSHCMD null "sshfs -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $PORT localhost:$LFolder $RFolder -o uid=1000 -o gid=1000 -o allow_other"
|
$SSHCMD null "sshfs -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $PORT dev@localhost:$LFolder $RFolder -o uid=1000 -o gid=1000 -o allow_other"
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue