From owner-freebsd-questions@FreeBSD.ORG Sun Jan 14 12:21:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FFE816A52D for ; Sun, 14 Jan 2007 12:21:32 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id EB52E13C467 for ; Sun, 14 Jan 2007 12:21:31 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0ECLVXZ007344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 14 Jan 2007 04:21:31 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0ECLUBU015935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 14 Jan 2007 04:21:31 -0800 Message-ID: <45AA2048.90102@u.washington.edu> Date: Sun, 14 Jan 2007 04:21:28 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070109) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <978566.70643.qm@web51114.mail.yahoo.com> <45AA0A4E.8070605@gmail.com> In-Reply-To: <45AA0A4E.8070605@gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.14.40433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HIGHBITS 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: let somebody watch my actions over the network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 12:21:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 kbtrace wrote: > Maybe watch(8) will help you, and lastcomm(1) is also helpful. > > Dino Vliet 写道: >> Hi peeps, >> >> I have this question about administering a freebsd box >> through ssh. >> >> I am helping a friend of mine configuring his freebsd >> 6.1 system. But he lives in anothe rpart of the town >> so we are working through ssh. But because he wants to >> "learn" by looking over my shoulder at the things I >> do, he asked me if I knew a tool or a way to make that >> happen. >> >> So basically, if I login through ssh, he wants to sit >> behind the machine and see what actions I'm doing. And >> because we talk over skype, we could have this whole >> interactin going on while I'm configuring his machine. >> >> How could I accomplish something like this? Does >> anyone have an idea? >> Two tools come to my mind, screen and nxserver but >> still I don't have a clue how to accomplish this. >> Hope someone can point me in a good direction. >> >> Brgds >> Dino >> >> >> >> ____________________________________________________________________________________ If he just wants strictly commands invoked in a shell, there's always history(1). It's enabled by default on sh/bash, but you need to enable it on csh/tcsh IIRC (don't remember the method, but google will give you the answers). - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFqiBIEnKyINQw/HARAqyJAJwL8DSok6Lz5JcP7LZi93m8xx8BlQCfX9Be a1tdWr/BMCvvLyti8/fpo44= =PtSf -----END PGP SIGNATURE-----