swap to dev in ssh script

This commit is contained in:
nyxerinys 2026-06-30 10:58:21 -05:00
parent 2018972aee
commit 0d954f0c60

View file

@ -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