From owner-freebsd-questions Sun Jun 16 23:47:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 3F99F37B407 for ; Sun, 16 Jun 2002 23:47:20 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id ECD2A28BE1; Mon, 17 Jun 2002 02:47:18 -0400 (EDT) Date: Mon, 17 Jun 2002 02:47:18 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Kris Kennaway Cc: FreeBSD LIST Subject: Re: sftp/ssh quell shell? In-Reply-To: <20020616040448.A16491@xor.obsecurity.org> Message-ID: <20020617024407.T58869-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 16 Jun 2002, Kris Kennaway wrote: > On Sun, Jun 16, 2002 at 12:28:37AM -0700, Peter Leftwich wrote: > PL> Does anyone know how to pass an "ssh" flag that would quell the sourcing of my destination:~/.cshrc file? > A better question is why you want to do that. Glad you asked. A few months ago when I began -- to no end -- experimenting to get scp (and qpopper) to work, the problem I kept running up against seemed to be that I was running tcsh as my shell on both the local FreeBSD box and the destination FreeBSD box. All I wanted to do was securely transmit my password and copy a large tarred directory! Grrr.. > If for some reason you don't want your tcsh to execute commands when logging in via ssh, test in your .cshrc for one of the environment variables that ssh sets and only perform them if not set. > Kris Not sure I follow 100% but you've got me on the right track I suppose, Thx. -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message