guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to kill child process?


From: Sebastian Miele
Subject: Re: how to kill child process?
Date: Mon, 24 Aug 2020 16:27:54 +0200
User-agent: mu4e 1.4.13; emacs 27.1.50

vapnik spaknik <vapniks@yahoo.com> writes:

> Oops, I forgot to include the "-M" flag in the previous post. That
> ensures the ssh connection is a master connection, and I get the same
> problem.

Look at output of the following:

  pkill ssh
  ssh -S '~/.ssh/socket/%C' -N -M -f <host> &
  echo $!
  pgrep -a ssh

Then look at the output of:

  pkill ssh
  ssh -S '~/.ssh/socket/%C' -N -M <host> &
  echo $!
  pgrep -a ssh

Passing '-f' does make 'ssh' fork.

Not using '-f' does not make 'ssh' fork.  (At least the current 'ssh' on
my machine.  I do not know whether OpenSSH in any way guarantees that
behavior in the future.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]