rsync-mail@asthe.com
2003-Sep-14 20:48 UTC
rsync over ssh without giving the user access to a shell?
What is the best way to give a remote user the ability to use rsync via ssh without also giving them shell access? I want the rsync user to authenticate via ssh. I want to protect their rsync session with ssh. However, I do not want to give them access to a shell on the Linux server where rsyncd is running. Any recommendations would be appreciated. chongo (Landon Curt Noll) /\oo/\
jw schultz
2003-Sep-15 09:35 UTC
rsync over ssh without giving the user access to a shell?
On Sun, Sep 14, 2003 at 10:48:52AM +0000, rsync-mail@asthe.com wrote:> What is the best way to give a remote user the ability to use rsync via > ssh without also giving them shell access? > > I want the rsync user to authenticate via ssh. I want to protect their > rsync session with ssh. However, I do not want to give them access to a > shell on the Linux server where rsyncd is running. > > Any recommendations would be appreciated.Put a script as a forced command in the authorized_keys file. Some examples can be found by googling for SSH_ORIGINAL_COMMAND This is getting to be a FAQ. It could use a mini-howto complete with an example script. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt