From owner-freebsd-questions@FreeBSD.ORG Sun May 1 23:11:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E50B21065670 for ; Sun, 1 May 2011 23:11:54 +0000 (UTC) (envelope-from gosand1982@yahoo.com) Received: from nm26-vm3.bullet.mail.ne1.yahoo.com (nm26-vm3.bullet.mail.ne1.yahoo.com [98.138.91.156]) by mx1.freebsd.org (Postfix) with SMTP id 97D2A8FC1C for ; Sun, 1 May 2011 23:11:54 +0000 (UTC) Received: from [98.138.90.49] by nm26.bullet.mail.ne1.yahoo.com with NNFMP; 01 May 2011 22:58:45 -0000 Received: from [98.138.89.172] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 01 May 2011 22:58:45 -0000 Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP; 01 May 2011 22:58:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 957806.20310.bm@omp1028.mail.ne1.yahoo.com Received: (qmail 58710 invoked by uid 60001); 1 May 2011 22:58:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1304290725; bh=Z1Ex6GbS3H6WltgC53q73tUqwmj+i7dscaYBR+cqF6o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=y4JoXWZuKV8neLJZ5YmlpkFHvoYzchco6j8Hz8gFdvnHH+kl7vWU+j9rwhr1j8y5pDSwObQiQ+w6VkleVUVSDK8Pi3Z6NpU2Vhjf4I82eSefHeU+s1nQfmBPKm7ztCGNdjDUgGDZ+7oIsMlqqZlRIj1ZDVOIjLgCQRaWjhzSmyk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=A3FKW1+MeYbB7+GGM0k/iuRtQfwZdfJF791JCs5OA83ZgfXyIdX9cVaJ7+jtMC6moHBSWouZVIxrZyMwwZf0eCrwz2G9lWUpfmKwo6mV4Pt0g/o9uRF/Tm0FC5wOGQqVvqdm6d6e7BnRSKL6emK64dY8jnxBdlRLh7aBqRHu/Ws=; Message-ID: <761855.57021.qm@web120004.mail.ne1.yahoo.com> X-YMail-OSG: YgK4mn8VM1lowXyexzv7jtetofcGYOH1qhQTG2Ev9YX1Ivt kNPyaRcxRmm9oLuOEotdpy3rZsWX8TX8POHjADl6Veed80_lLyXxATvd2gF. QFOkl9mZdmMGhjAMOQatKJxniOw28cbrieBnQnfkh5KoMUj2IYgF2tJ58QJ1 zIE2LJbQTlyaHe2zRzfFPYg7_LwxBimA0vXdbO_po4uOVggJW7fzMnb5IZzd _ssJSBSb8CQz0xg0e2h9g7jlS9_8vCjzu15VVMdxNXfrHcmZiWYebg2W73AJ hB35Vktx6UZBum87aTLV6H0F7tL4WAP6jw70i1UfK3Y.38_ZB01k- Received: from [12.202.173.2] by web120004.mail.ne1.yahoo.com via HTTP; Sun, 01 May 2011 15:58:45 PDT X-Mailer: YahooMailRC/559 YahooMailWebService/0.8.110.299900 Date: Sun, 1 May 2011 15:58:45 -0700 (PDT) From: George Sanders To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Sun, 01 May 2011 23:18:01 +0000 Subject: Any way to have login output AND use rsync/scp ? 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, 01 May 2011 23:11:55 -0000 I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Is there some way to specify an alternate login shell when I use scp or rsync ? Or conversely: Is there some way for my login shell (csh) to notice that it is scp or rsync accessing the system, and skip the text output for them ? Thanks.