On Чтв, 2005-08-25 at 08:46 -0600, Bob Proulx wrote: > Peter Volkov Alexandrovich wrote: > > P.S. I'm not subscribed to the list, so please CC me. > > > I need to run ssh in background just to forward ports. But anytime I put > > it into background process state became stoped and this does not allow > > me to send packets through forwarded ports. 'bg' command does not help. > > Very likely the ssh program is trying to do I/O. The kernel will > notice this and stop the process so that you can bring it into the > foreground and interact with it. > > This really has nothing to do with bash and is simply the behavior of > BSD style job control as implemented by the kernel.
Very interesting. I did not know that. Thank you for explanation. > Try giving ssh the -n option. Also, you may want to use -N too. Here > is the ssh man page snippets. [snip info from man page.] Yes. -nN options help me. Thank you, Bob, again, Peter. _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash