Changeset 7436
- Timestamp:
- Jan 27, 2010, 8:17:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2.0/nanobsd/nanobsd/files/usr/local/sshtun/sshtun.sh
r7413 r7436 31 31 32 32 # Connect to remote site 33 ssh -R ${REMOTEPORT}:localhost:${LOCALPORT} -i ${SSHKEY} ${USER}@${HOST} -o StrictHostKeyChecking=no -o ServerAliveInterval=5 -o ExitOnForwardFailure=yes "sh -c 'sleep ${REMOTEWAIT}'" 34 33 ssh -R ${REMOTEPORT}:localhost:${LOCALPORT} -i ${SSHKEY} ${USER}@${HOST} -o ServerAliveInterval=5 -o ExitOnForwardFailure=yes -o BatchMode=yes -o StrictHostKeyChecking=no -n -N "sh -c 'sleep ${REMOTEWAIT}' 35 34 # Echo some stuff 36 35 date
Note:
See TracChangeset
for help on using the changeset viewer.