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 .
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 .
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 .