Any way to have login output AND use rsync/scp ?

George Sanders gosand1982 at yahoo.com
Sun May 1 23:11:55 UTC 2011


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.


More information about the freebsd-questions mailing list