Re: openssh: Enabling sftp, but disabling ssh?



Mark Holden wrote:
Does anybody know if it's possible, using openssh, to allow file
transfer to/from a machine, using sftp, for a specific userid, and
disallow ssh login/remote command execution for that same userid? Other
userids on the machine should be unaffected.

I do exactly that on my system; you can't achieve it with OpenSSH alone
and need to use a helper allocation such as either scponly[1] or rssh[2].

Ben

[1] http://www.sublimation.org/scponly/
[2] http://www.pizzashack.org/rssh/



Relevant Pages