diff options
Diffstat (limited to 'port-forward/ssh-port-forward.sh')
| -rwxr-xr-x[-rw-r--r--] | port-forward/ssh-port-forward.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/port-forward/ssh-port-forward.sh b/port-forward/ssh-port-forward.sh index 748c161..798949d 100644..100755 --- a/port-forward/ssh-port-forward.sh +++ b/port-forward/ssh-port-forward.sh | |||
| @@ -12,4 +12,6 @@ echo "cleaning attempted." | |||
| 12 | 12 | ||
| 13 | ssh -i $KEY_FILE $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") | 13 | ssh -i $KEY_FILE $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") |
| 14 | 14 | ||
| 15 | echo "port forward is available on port {j}00x" | ||
| 16 | |||
| 15 | #seperate all the files | 17 | #seperate all the files |
