Hello!I have written a script that establishes an SSH Tunnel and does Port Forwarding from a local CYGWIN Shell ....When I try to kill the tunnel by the PID, I get nothing ...Does anyone know how CYGWIN handles PIDs in a local Shell?PIDOF=$!echo -e "Local Port 6111 is now resolving content from \"remote.server.org:8080\""echo -e "Local Port 6112 is now resolving content from \"remote.server.org:8080\""echo -e ""echo -e "Port Forwarding ${red_back}${yellow_text}Active${norm_text}${norm_back}:"while truedoecho -e "Press Any Key to ${red_text}STOP${norm_text} Port Forwarding ..."read killcase $kill in*) kill $PIDOF ;;esacdone;;esacI'm just getting an empty variable (kill has nothing to kill) .... since this is just a local shell and not a full fledged system, I was wondering if anyone knew how CYGWIN handles PIDs.--
Thanks,
--:: Alexander J. Snyder ::--
--:: ThisGuyShouldWorkFor.Us ::--
--:: "Never trust a computer you can't throw out a window. --Steve Wozniak" ::--
--
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss