Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 18:42:41 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Any way to have login output AND use rsync/scp ?
Message-ID:  <201105012342.p41Ngf5w053806@mail.r-bonomi.com>
In-Reply-To: <761855.57021.qm@web120004.mail.ne1.yahoo.com>

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

> Date: Sun, 1 May 2011 15:58:45 -0700 (PDT)
> From: George Sanders <gosand1982@yahoo.com>
> Subject: Any way to have login output AND use rsync/scp ?
>
> 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.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
> unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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