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>,<gcc at gcc dot gnu dot org>
- Date: Fri, 28 Oct 2005 11:09:04 +0100
- Subject: RE: SSH connection caching
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 ControlMaster (-M) option. You don't need to run a
command on the remote side, so you should also use -N (no command). Another
useful option is -f (fork to the background). Putting this together, this
brings to the command line shown above (ssh -fMN).
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. "
cheers,
DaveK
--
Can't think of a witty .sigline today....