Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 04:04:48 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: sftp/ssh quell shell?
Message-ID:  <20020616040448.A16491@xor.obsecurity.org>
In-Reply-To: <20020616002431.P516-100000@66-75-1-142.san.rr.com>; from Hostmaster@Video2Video.Com on Sun, Jun 16, 2002 at 12:28:37AM -0700
References:  <20020616002431.P516-100000@66-75-1-142.san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Jun 16, 2002 at 12:28:37AM -0700, Peter Leftwich wrote:
> 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.

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

--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9DHDQWry0BWjoQKURAvGsAJ0Yz2y0pwfK80h8vAuXKc3EyqY11gCgicTH
pjoFFslzLdq/FgN/f/meoxU=
=Vlay
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--

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?20020616040448.A16491>