From mboxrd@z Thu Jan 1 00:00:00 1970 From: Saint Neon Subject: Re: SSH doesnt properly logout Date: Fri, 10 Jan 2003 07:51:51 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030110155151.4885.qmail@web40802.mail.yahoo.com> References: <5.1.1.6.0.20030110144956.01f95bb0@pop3.demon.co.uk> Mime-Version: 1.0 Return-path: In-Reply-To: <5.1.1.6.0.20030110144956.01f95bb0@pop3.demon.co.uk> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Carl Cc: linux-admin@vger.kernel.org I am not an expert in SSH, but here is a suggestion that you would like to try out. If you use the single-shell method, you will have to terminate the agent yourself. Instead, use a sub-shell. Like this. ssh-agent /bin/bash (or) ssh-agent $SHELL What this does, is it automatically terminates the agent when you log out. Meaning that it will terminate the process running in the background too. Hope this helps, Neon. --- Carl wrote: > At 15:08 10/01/2003 +0100, axel@pearbough.net wrote: > >Hi linux admins, > > > >I'm observing some strange behaviour concerning ssh > and logging out from a > >ssh connection when I put a process in background > on the remote side. > >For instance I do the following: > > > >* I start a gcc compilation on the remote terminal > > make bootstrap >& build.log & > > Then it goes into background. > > > >* Now I "logout" but do not return to my local > terminal, now there is only a > > blank screen with the cursor in the upper > left side. > > > >Can somebody help me please in understand this > behaviour or rather help me > >fix it? > > > > > >Best regards, > >Axel Siebenwirth > >- > >To unsubscribe from this list: send the line > "unsubscribe linux-admin" in > >the body of a message to majordomo@vger.kernel.org > >More majordomo info at > http://vger.kernel.org/majordomo-info.html > > Try running it with a nohup > > nohup make bootstrap >& build.log & > > Running it in the background should still stop it > when you log out. > > -- > Carl > > - > To unsubscribe from this list: send the line > "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com