Re: rsync over ssh with disallowed login

2005-10-16 Thread Vincent Lefevre
On 2005-10-16 17:17:11 +0200, Lubos Vrbka wrote: > >That's not quite what he asked, but you can restrict what commands can be > >run (to just rsync) using the authorized_keys file too > could you please be more specific in this point? :) some example (or > pointer to relevant part of a documen

Re: rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka
You want something like rssh: Description: Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist rssh is a restricted shell to be used as a substitute of the login shell to allow users to perform only scp/sftp/cvs/rsync,rdist operations. . The security implications are high, so t

Re: rsync over ssh with disallowed login

2005-10-16 Thread Roberto C. Sanchez
On Sun, Oct 16, 2005 at 11:28:14AM +0200, Lubos Vrbka wrote: > hi guys, > > is there any way how to disable login to a machine with ssh and at the same > time use it as a backup machine using rsync over the same protocol (ssh)? > > i.e. user can run rsync to that machine, but the login is disall

Re: rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka
That's not quite what he asked, but you can restrict what commands can be run (to just rsync) using the authorized_keys file too could you please be more specific in this point? :) some example (or pointer to relevant part of a documentation) would be very welcome... also, does this mean,

Re: rsync over ssh with disallowed login

2005-10-16 Thread Dick Davies
On 16/10/05, Aurelien Ricard <[EMAIL PROTECTED]> wrote: > If you want to be able to login using ssh (or rsync over ssh) on a > remote machine without password try to put the key of the user's login > (used on the local machine) to the .ssh/authorized_keys on the remote > $HOME_DIR. That's not qui

Re: rsync over ssh with disallowed login

2005-10-16 Thread Aurelien Ricard
If you want to be able to login using ssh (or rsync over ssh) on a remote machine without password try to put the key of the user's login (used on the local machine) to the .ssh/authorized_keys on the remote $HOME_DIR. home it helps Aurélien Lubos Vrbka wrote: hi guys, is there any way

rsync over ssh with disallowed login

2005-10-16 Thread Lubos Vrbka
hi guys, is there any way how to disable login to a machine with ssh and at the same time use it as a backup machine using rsync over the same protocol (ssh)? i.e. user can run rsync to that machine, but the login is disallowed? i've seen similar setup (using rsh) in the past but couldn't fi