On Thu, Feb 24, 2011 at 05:41, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote:
> On Thu, Feb 24, 2011 at 01:58:06AM +0100, Jan Kanis wrote: > > - A command like 'fish -c "echo %self; exec ssh user@somewhere"' will > start > > a new shell that will echo it's own pid and then exec ssh (keeping the > pid). > > it does not appear to keep the pid if i run ssh -f -N -q > Apparently. The -f tells ssh to fork, giving it a new pid. The parent ssh that asks for passphrases and such keeps the pid, but then forks off a child to handle the rest of the connection and exits itself. Jan
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users