reverse-ssh/ngrok.bat

3 lines
121 B
Batchfile
Raw Normal View History

2021-01-17 17:47:34 +03:30
ssh -t YOUR_ACCOUNT@vnfco.ir sudo kill $(sudo lsof -t -i:6001)
ssh -R 6001:127.0.0.1:YOURLOCALPORT YOUR_ACCOUNT@vnfco.ir