RE: SSH connection caching

2005-10-28 Thread Dave Korn
Richard Kenner wrote: When I do it, it looks like after I log out, something is still running. Is there something I have to stop? Yep. http://gcc.gnu.org/wiki/SSH%20connection%20caching To create the socket, you need to open a master connection. Just ssh to gcc.gnu.org using the

RE: SSH connection caching

2005-10-28 Thread Richard Kenner
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.

RE: SSH connection caching

2005-10-28 Thread Dave Korn
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

Re: SSH connection caching

2005-10-28 Thread Vincent Lefevre
On 2005-10-28 14:12:26 +0100, Dave Korn wrote: 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? I use lsof. With zsh: for file in