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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

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

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