Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • What exactly are you trying to do? My best guess is have the ssh command go into the background, and trap stderr to a log file. Is that correct? Commented Jan 12, 2012 at 15:29
  • The problem is that ssh command doesn't go into the background (first example). I'd rather use -f for this than shell jobs (with &) as I would like to use the return code to know if the SSH tunnel was built. Commented Jan 16, 2012 at 8:07
  • 1
    please edit your question to indicate what sort of responses you are expecting and any diagnostic or error messages that you are getting. Also, I have no idea what you mean by 'back hand', 'hand given back', etc. Good luck. Commented Jan 16, 2012 at 19:01
  • @shellter thank you for your feedback. I have edited my question and I hope this is clearer now. Commented Jan 30, 2012 at 10:25