[root@zion ~]# yum install rssh
[root@zion ~]# adduser -g rsshusers myuser
Edit /etc/passwd:
myuser:x:513:109::/home/myuser:/usr/bin/rssh
For configuring rssh, see /etc/rssh.conf. You can:
allowscp
#allowsftp
#allowcvs
#allowrdist
#allowrsync
Also, you can configure chroot for the restricted user if you want. So, it's quite simple to setup, simple to use.
No comments:
Post a Comment