how to restrict to SFTP ? rssh doesn't match here

From: Pierre-Philipp Braun (
Date: 11/18/02

Date: Mon, 18 Nov 2002 03:19:31 +0100
From: Pierre-Philipp Braun <>

Hi all,

i was trying to figure out how to limit some users to SFTP access only when
i found rssh, a shell that allows only SFTP and/or SCP use.

But even if the autor says that it should compile cleanly and work on any
POSIX-compliant system, it doesn't compile on NetBSD:

        rssh.c:47: wordexp.h: No such file or directory
        *** Error code 1

It needs glibc2, and there is only a glibc1 port avaible for NetBSD, so i
won't be able to compile rssh for now (i could try some linux emulation

Is there another shell that would have the same aim?

Any advice would be appreciated.
Thanks in advance.

Pierre-Philipp Braun <>