Re: Troubleshooting SSH connection as SYSTEM user.

2011-05-26 Thread Matthew Leonhardt
On Thu, May 26, 2011 at 4:47 PM, Larry Hall (Cygwin) wrote: > On 5/26/2011 11:10 AM, Matthew Leonhardt wrote: >> >> Hello all, >> >> I'm trying to install a service to keep some SSH tunnels alive using >> the following script: >> >> $ cat

Troubleshooting SSH connection as SYSTEM user.

2011-05-26 Thread Matthew Leonhardt
Hello all, I'm trying to install a service to keep some SSH tunnels alive using the following script: $ cat ssh_tunnel.exe #!/usr/bin/bash while : do /cygdrive/c/WINDOWS/system32/netstat -an | grep 192\.168\.0\.1:139 \ | grep LISTENING > /dev/null if (( $? )); then /usr/bin/ssh -v -v