Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 11:09:16 +0400
From:      "Konstantin Shepelin" <kostia@obninsk.com>
To:        <questions@FreeBSD.org>
Subject:   Problems with close csh and ftp 
Message-ID:  <003c01c1006a$689345a0$cd01010a@Vanbuston>

next in thread | raw e-mail | index | archive | help
I have FreeBSD ( build 4.1.1  )  server .
I use SSH client to connect to server.
When i work at the server netstat display one row like this:
tcp4       0      0  x.x.x.x.22       y.y.y.y.61607    ESTABLISHED

If connection has been  broken port does not closed and when i have
connected again netstat display to row

tcp4       0      0  x.x.x.x.22       y.y.y.y.61607    ESTABLISHED
tcp4       0      0  z.zx.zx.zx.22       zy.zy.zy.zy.61348    ESTABLISHED

Now i have five such row when i use netstat to view open ports
command ps -ax display that csh ( shell ) is still executed,
 Then I kill all suspended csh and all ports has been closing . ;-)

My be exist the other way to close the csh while client lost connection ?

Such problem appear then i use ftp client from my server to other server
ftp.
I close ftp client but socket is still open
netstat -an display

tcp4       0      0  y.y.y.y.1034      x.x.x.x.21    ESTABLISHED

what must  i do in order to   connection become  correct ?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003c01c1006a$689345a0$cd01010a>