Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 00:01:46 +0200
From:      Daniel Blankensteiner <db@traceroute.dk>
To:        Nick Rogness <nick@rogness.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FTPd and SSHd
Message-ID:  <20020513220133.BQTM22598.fepC.post.tele.dk@there>
In-Reply-To: <Pine.BSF.4.21.0205131701000.50364-100000@cody.jharris.com>
References:  <Pine.BSF.4.21.0205131701000.50364-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 14 May 2002 00:02, you wrote:
> On Mon, 13 May 2002, Daniel Blankensteiner wrote:
> > But now comes the problem with sftp. I want to allow users to access
> > sftp, but not ssh, how do I do this? I also want to /etc/ftpchroot the
> > users, but sftp-server does not support this?
>
> 	Simple and easy solution, shut off their shell access.
> 	Use /sbin/nologin or something for their shell (in the password
> 	file).

Ok, the user is allowed to ssh to my server, but his shell is /sbin/nologin
then this happens:

db# sftp tester@localhost
Connecting to localhost...
tester@localhost.www.hacker.dk's password:
Received message too long 1416128883

br
db

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020513220133.BQTM22598.fepC.post.tele.dk>