This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: SSH connection caching
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Richard Kenner'" <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 28 Oct 2005 14:12:26 +0100
- Subject: RE: SSH connection caching
Richard Kenner wrote:
> Note that the open connection has your authentication tokens to the
> remote server. If you leave the machine where you started the master
> SSH session, you should usually kill it. "
>
> I missed that part.
>
> So what's the recommended way to kill it? I added the ssh -M command to my
> .login.
Dunno what's recommended, but I expect you should be able to come up with a
combination of ps/grep/awk/cut that you could put in a backtick as an argument
to "kill -9" in your .logout file, perhaps?
cheers,
DaveK
--
Can't think of a witty .sigline today....