diff options
Diffstat (limited to 'setup/port-forward/ssh-port-forward.sh')
| -rwxr-xr-x | setup/port-forward/ssh-port-forward.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/port-forward/ssh-port-forward.sh b/setup/port-forward/ssh-port-forward.sh index 4483ef4..c4cb0a8 100755 --- a/setup/port-forward/ssh-port-forward.sh +++ b/setup/port-forward/ssh-port-forward.sh | |||
| @@ -13,7 +13,7 @@ echo "cleaning attempted." | |||
| 13 | 13 | ||
| 14 | ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") | 14 | ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") |
| 15 | 15 | ||
| 16 | echo "port forward is available on port {j}00x" | 16 | echo "port forward is available on ports ${j}000-${j}005, ssh on ${j}022" |
| 17 | 17 | ||
| 18 | #ideally port forward from 2 onwards, there seems to be a problem for 1000(or just change all to j001) | 18 | #ideally port forward from 2 onwards, there seems to be a problem for 1000(or just change all to j001) |
| 19 | #jupyter lab --port=2001 --ip=0.0.0.0 | 19 | #jupyter lab --port=2001 --ip=0.0.0.0 |
