We would like to to create a sftp user which
1)Should not able to ssh, scp or telnet to the server .
2)Should able to do only sftp to the server .
3) Should not able to run "df" command
4) Should be restricted within the home directory . it should not able to go beyond the home directory .
Our Approach
----------------------
We ve installed openssh & rssh . Now we are able to meet the above 3 requirements .
For the fourth one we tried with chroot concept . We ve gone throught the steps given in following links & even few more also .
http://www.c2group.net/howtos/chroot.html
http://freshmeat.net/articles/view/1576/
http://gentoo-wiki.com/HOWTO_SFTP_Se..._without_shell)
Now if we do sftp are getting connection closed error . But if we remove the chroot sftp is working fine .
Need your help in this regards . Thanx in advance .