moin, moin,
a few times we've had questions about how to setup ssh to only allow scp.
I haven't ever seen an answer on the list that really locked everything
down.
Maybe this project does.
lufthans@Schlepptop:~$ apt-cache search scponly
scponly - Restricts the commands available to scp- and sftp-users
lufthans@Schlepptop:~$ apt-cache show scponly
Package: scponly
Priority: optional
Section: utils
Installed-Size: 132
Maintainer: Thomas Wana <
thomas@wana.at>
Architecture: i386
Version: 3.8-6
Depends: libc6 (>= 2.3.2-1), debconf (>= 0.5), ssh
Filename: pool/main/s/scponly/scponly_3.8-6_i386.deb
Size: 23462
MD5sum: 623869168cdb08af957cd3ff2eeab5bd
Description: Restricts the commands available to scp- and sftp-users
"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 priviledges. Functionally, it is best described as a
wrapper to the mostly trusted suite of ssh applications.
ciao,
der.hans
--
# https://www.LuftHans.com/ http://www.AZOTO.org/
# "The illiterate of the 21st century will not be those who cannot read and
# write, but those who cannot learn, unlearn, and relearn." -- Alvin Toffler