Is it possible to give sftp access to a user without giving him ssh access?
Set the last parameter of the
Well, rssh is a restricted shell providing sftp access but no ssh access.
You might have to
to make it a "valid" shell.
Update 9-13-2012 for Ubuntu 12.04
The file, /etc/rssh.conf, has the various kinds of access commented; so, for sftp, uncomment line #10, "#allowsftp".
Sometime It is useful to set umask for ftp client. To do that, create a simple script
and use it in