Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 15:58:45 -0700 (PDT)
From:      George Sanders <gosand1982@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Any way to have login output AND use rsync/scp ?
Message-ID:  <761855.57021.qm@web120004.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
I have my .cshrc file run some basic netstat and 'w' commands so that when I log 
in, I can see at a glance what is going on on the system and notice any unusual 
login activity, etc.

However this completely breaks both scp and rsync - they cannot function at all 
(apparently) with any kind of stdio output from the shell.

Is there any way around this ?

Is there some way to specify an alternate login shell when I use scp or rsync ?

Or conversely:

Is there some way for my login shell (csh) to notice that it is scp or rsync 
accessing the system, and skip the text output for them ?

Thanks.



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