I got the attached response on the ma-linux list and thought others, especially John, might find it helpful. I think the "pidof $!" very clever and useful. Meanwhile, I've solved my somewhat simpler problem in a simpler way, as it turns out: #/bin/bash while true; do ssh -R WXYZ:localhost:23 [my.home.server] done Works like a charm. -- Janina Sajka Email: janina at rednote.net Phone: (202) 408-8175 Director, Technology Research and Development American Foundation for the Blind (AFB) http://www.afb.org Chair, Accessibility Work Group Free Standards Group http://accessibility.freestandards.org -------------- next part -------------- An embedded message was scrubbed... From: "Don Groves Jr" <djr1952@xxxxxxxxxx> Subject: Re: [ma-linux] Question about using pid Date: 20 Oct 2003 14:41:06 -0400 Size: 4054 URL: <http://linux-speakup.org/pipermail/speakup/attachments/20031020/e2bc7743/attachment.mht>