scp to directory w/o execute permissions

John Abreau jabr at abreau.net
Thu Dec 12 14:52:14 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Charles Farinella <farinella at mcttelecom.com> writes:

> I was doing so well....... :-(
> 
> Ok, that won't work.  I need to scp files to the machine, yet not allow 
> the user to execute anything.  Any suggestions?

Somebody posted a no-login shell a few months ago, that only allowed 
scp and sftp, and for anything else printed a "Go away" message followed 
by a "sleep 10". I don't remember offhand which list it was announced on, 
and unfortunately the machine I used to use for my email now has a fried 
motherboard, so I can't check my mail archives until I can afford to 
replace it.


- --
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iQCVAwUBPfjo7VV9A5rVx7XZAQIaJwQAlO1iQyrCTH2pa1rkBZrTJT4fT5yLr/4y
ppGEvQAAIS/h34/qIctvDeaw7zeCb5Vn07825vK/ZNscvCsbiiqyZw5WgjPIMcGo
9E2ZJp93nGiGSU5QHF6PnJR7jRLWGWT8LPX/+Tkgv2UjgSTl7rdaFj9115E68FUF
shNQ5zTHJPc=
=M33n
-----END PGP SIGNATURE-----




More information about the gnhlug-discuss mailing list