Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 02:47:18 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: sftp/ssh quell shell?
Message-ID:  <20020617024407.T58869-100000@earl-grey.cloud9.net>
In-Reply-To: <20020616040448.A16491@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020617024407.T58869-100000>