Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 12:36:46 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Jos Chrispijn <jos@cloudzeeland.nl>
Cc:        Erwan David <erwan@rail.eu.org>, freebsd-questions@freebsd.org
Subject:   Re: FTP access blocked on specific user
Message-ID:  <20170216123646.c3bc68a3.freebsd@edvax.de>
In-Reply-To: <c475b5f9-4134-f313-45c7-1e8fae46fdf5@cloudzeeland.nl>
References:  <9de65374-2203-0164-d49f-1118d4e58a25@cloudzeeland.nl> <607d7aa7-985e-4441-6ec7-e119e14ccefa@rail.eu.org> <c475b5f9-4134-f313-45c7-1e8fae46fdf5@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Feb 2017 11:05:22 +0100, Jos Chrispijn wrote:
> Op 15-2-2017 om 22:07 schreef Erwan David:
> > Check that this user's shell does not send multi-line message or prompt
> > with control characters in a non interactive session. This would break sftp.
> >
> Exactly on the head! My own stupidity: I added a simple command at the 
> end of my .cshrc (the shell I work in) which caused this issue.

Use ~/.login for that purpose. It will only be executed for
login shells (interactive shells), while ~/.cshrc will be
executed for _any_ instance of the C shell. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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