From owner-freebsd-questions Sat Aug 11 15:21:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from jezebel.demon.co.uk (jezebel.demon.co.uk [158.152.38.143]) by hub.freebsd.org (Postfix) with ESMTP id 7109D37B40D for ; Sat, 11 Aug 2001 15:21:26 -0700 (PDT) (envelope-from rdls@jezebel.demon.co.uk) Received: (from rdls@localhost) by jezebel.demon.co.uk (8.11.1/8.11.1) id f7BMG0400870; Sat, 11 Aug 2001 23:16:00 +0100 (BST) (envelope-from rdls) Date: Sat, 11 Aug 2001 23:16:00 +0100 From: Richard Smith To: Tim Erlin Cc: questions@freebsd.org Subject: Re: ssh and background processes Message-ID: <20010811231559.C733@gaia.home.rdls.net> References: <20010810185605.7142.qmail@web11703.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010810185605.7142.qmail@web11703.mail.yahoo.com>; from tperlin@yahoo.com on Fri, Aug 10, 2001 at 11:56:05AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 10, 2001 at 11:56:05AM -0700, Tim Erlin wrote: > Two questions: > > 1. I keep getting booted from SSH. On windows (putty), > I get a 'host key check failed' error (or something > similar. On Linux I get 'dispatch_protocol_error: > rekeying is not supported.' The box I'm connecting to > is FreeBSD -STABLE. Can I/Should I change this? I don't understand this. My ssh sessions stay up for ever, admittedly they're FreeBSD -> FreeBSD :-) > 2. The reason this is a problem is that I'm trying to > update my sources, but the SSH terminal doesn't stay > open long enough to complete 'make buildworld.' How do > I send this process into the background so that I can > logout and let it run? Depends on which shell you're using. The shell I use (zsh) suspends the foreground process with a Ctrl-Z then the 'bg' command moves it to the background. You would need the 'disown' command to allow you to log out. Of course, you could always start it off in the background/disowned: # make buildworld >logfile 2&>1 &! Time to buy a good unix book I think ;-) > > TIA, as always... > > --Tim Erlin > > __________________________________________________ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Richard Smith Network Systems Director Satamatics Ltd Green Lane, Tewkesbury, GL20 8HD, United Kingdom Tel: +44 1684 278610 Fax: +44 1684 278611 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message