Re: SSH trampoline leaves processes running.
- From: Adam Funk <a24061@xxxxxxxxxxxxx>
- Date: Tue, 11 Sep 2007 12:29:07 +0100
On 2007-08-27, Darren Tucker wrote:
On 2007-08-19, Adam Funk <a24061@xxxxxxxxxxxxx> wrote:
[...]
Thanks very much for this very useful tip!
I've noticed, however, that the related processes don't terminate, so
every now and then I notice that `ps ux` includes several old ones
with the descriptions "sshd: adam@pts/0" and "sshd: adam@notty". I
can kill them without any problem and AFAIK they don't cause trouble,
but is this a normal result of ssh trampoline?
Some versions of netcat don't check if their input has closed so they
don't shut down cleanly in that case.
In my case, that's the version of netcat installed on the gateway
machine, right?
I used to use this, which worked
fine:
http://www.meadowy.org/~gotoh/projects/connect
but I believe that there are some versions of netcat that also work.
There's also a patch to sshd that will send a SIGHUP to processes when
trying to close them down.
I'll look into putting connect in ~/bin/ on my account on the gateway
machine. Thanks for the advice.
.
- Prev by Date: Re: How to foce SCP to create a directory ?????????????
- Next by Date: SSH Port Forwarding Question
- Previous by thread: How to foce SCP to create a directory ?????????????
- Next by thread: SSH Port Forwarding Question
- Index(es):
Relevant Pages
|
|