From owner-freebsd-questions Wed Jun 19 10:54:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from yertle.kciLink.com (yertle.kcilink.com [216.194.193.105]) by hub.freebsd.org (Postfix) with ESMTP id 9A2A437B406 for ; Wed, 19 Jun 2002 10:54:07 -0700 (PDT) Received: from onceler.kciLink.com (onceler.kciLink.com [216.194.193.106]) by yertle.kciLink.com (Postfix) with ESMTP id CA15F2178A for ; Wed, 19 Jun 2002 13:54:06 -0400 (EDT) Received: by onceler.kciLink.com (Postfix, from userid 100) id A38663D43; Wed, 19 Jun 2002 13:54:06 -0400 (EDT) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Vivek Khera To: freebsd-questions@freebsd.org Subject: Re: sftp/ssh quell shell? Newsgroups: ml.freebsd.questions References: <20020617024407.T58869-100000@earl-grey.cloud9.net> X-Trace: lorax.kciLink.com 1024503964 17397 216.194.193.106 (19 Jun 2002 16:26:04 GMT) X-Complaints-To: daemon@kciLink.com X-Virus-Scanned: by AMaViS snapshot-20020517 (@kci) X-Razor-id: 646d36dbb54bc8bd8b1fb89f8891d204e8f68664 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 >>>>> "PL" == Peter Leftwich writes: PL> Glad you asked. A few months ago when I began -- to no end -- PL> experimenting to get scp (and qpopper) to work, the problem I kept running PL> up against seemed to be that I was running tcsh as my shell on both the PL> local FreeBSD box and the destination FreeBSD box. All I wanted to do was PL> securely transmit my password and copy a large tarred directory! Grrr.. Usually the problem is that your .cshrc file emits output when it shouldn't. Here's the normal trick I was taught back in '85. Put this at or near the top of your .cshrc file. Obviously, my .cshrc file was set up to work on multiple environments... ;-) # if non-interactive, do not set up aliases, etc., but set path. if ($?prompt == 0) then # compensate for SunOS braindamage: umask is set in login, and # the default is 0, not 022. umask 022 setenv WHICHWINDOW x # assume the most liberal PATH source ${HOME}/.setpath exit endif -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message