Re: Restricting SCP2/SFTP access to Unix
From: Darren Tucker (dtucker_at_zip.com.au)
Date: Sat, 08 Nov 2003 10:34:26 +1100 To: email@example.com
Fahroe Ibrahim wrote:
> I would like to know if it is possible to restrict user from doing SCP2/SFTP
> to a server, but still allowing him to do SSH to the same server.
> If it is, where can I configure it?
You could fiddle with the permissions of the scp and sftp server binaries
but it wouldn't stop people a) installing their own copies or b)
transferring files with ssh directly, eg "ssh somehost cat
-- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.