Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 22:07:17 +0100
From:      Erwan David <erwan@rail.eu.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: FTP access blocked on specific user
Message-ID:  <607d7aa7-985e-4441-6ec7-e119e14ccefa@rail.eu.org>
In-Reply-To: <9de65374-2203-0164-d49f-1118d4e58a25@cloudzeeland.nl>
References:  <9de65374-2203-0164-d49f-1118d4e58a25@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 02/15/2017 à 22:00, Jos Chrispijn a écrit :
> I have a sudden issue connecting with a certain username on sftp and
> predefined port.
> 
> Any other user gets immidiately access on the same ip and portnumber,
> but on this specific user things get stuck:
> Get a timeout and session is terminated. Only ftp:21 works.
> 
> First I thought it was domainname / dns related so I tried to get sftp
> access on internal network / ip number levelinstead of domain name.
> Unfortunately that doesn't provide access result.
> 
> Could it be that I should flush a certain session file in order to
> remove any information that blocks sftp access?
> 
> Perhaps this 'blocked user' has a damages user directory (folder) that
> causes the timeout?
> 
> Also checked ipfw icw SSHGuard (table22) but after flushing no
> improvement yet.
> 
> Can someone tell me what I may oversee here? Thanks!
> 

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?607d7aa7-985e-4441-6ec7-e119e14ccefa>