BSD Ports

shells/scponly 4.8.20110526_8 DragonFly

Tiny shell that only permits scp and sftp

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
security, shells
Package size
21.0 KiB, 46.4 KiB installed

Description

[Excerpted from the README:] "scponly" is an alternative "shell" (of sorts) for system administrators who would like to provide access to remote users to both read and write local files without providing any remote execution privileges. Functionally, it is best described as a wrapper to the tried-and-true ssh suite.

scponly validates remote requests by examining the third argument passed to the shell upon login. (The first argument is the shell itself, and the second is -c.) The only commands allowed are "scp", "sftp-server" and "ls". Arguments to these commands are passed along unmolested.

In the other systems

SystemPortVersion
DragonFlyshells/scponly4.8.20110526_8
FreeBSDshells/scponly4.8.20110526_8
NetBSDshells/scponly4.8nb2
MidnightBSDshells/scponly4.8.20110526_2

Install

Binary package:

pkg install scponly

From DPorts:

cd /usr/dports/shells/scponly && make install clean

Dependencies

No port depends on this one.