sftp client

carl at bl.echidna.id.au carl at bl.echidna.id.au
Fri Feb 9 13:19:06 EST 2001



This is a good thing to have in a csh .cshrc .. I guess you'd do 
similar for those evil SV based shells :)

if ($?USER == 0 || $?prompt == 0) exit


Carl

> From: Damien Miller <djm at mindrot.org>
> To: Roumen Petrov <roumen.petrov at skalasoft.com>
> Cc: mouring at etoh.eviladmin.org, openssh-unix-dev at mindrot.org
> 
> On Thu, 8 Feb 2001, Roumen Petrov wrote:
> 
> 
> > 3.)
> > My result is:
> > -----------------------------
> > Executing /.bashrc ...
> > /root/.bashrc
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > 4.)
> > And result from 'sftp localhost' is:
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > Connecting to localhost...
> > ......
> > Received message too long 1165518179
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > 5.)
> > info: 1165518179 = 0x45786563 = "Exec" !!!!
> 
> This is what I have been trying to tell you, note that the above will
> also break r{sh,exec} based programs and sftp.
> 
> Your shell initialisation should not print *anything* if your shell is
> not interactive.
> 
> -d
> 
> -- 
> | Damien Miler <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
> | http://www.mindrot.org         /   distributed filesystem'' - Dan Geer
> 
> 
> 





More information about the openssh-unix-dev mailing list