rsync + ssh + rbash

From: Erwan (erwanpianezza@my-deja.com)
Date: 01/29/03


From: erwanpianezza@my-deja.com (Erwan)
Date: 29 Jan 2003 03:04:17 -0800

Hi, I am trying to connect a user with rsync + shh

it works fine when the user has a /bin/bash shell

but I would like to restrict the shell to its home, so I tried the
following rbash shell

#!/bin/bash
/bin/bash --restricted

but if I give that shell to my user, ssh works fine but rsync+ ssh
hangs ...

Has anyone a solution to that N ?

Thanks .

Erwan.



Relevant Pages

  • Re: SFTP is not working
    ... When I try to use sftp or scp2, I get a message like this: ... sftp and scp2 both actually work by running ssh in a subprocess, ... The reason the shell startup files are relevant at all, ...
    (comp.security.ssh)
  • Re: Did you hack into my UNIX server Bible Bob?
    ... But that's not a shell question. ... >> OSX users, should I be using ssh instead of telnet for security? ... OSX as a built in firewall tab. ...
    (comp.unix.shell)
  • Re: using ssh to run remote commands? [ssh -T, scp/ssh flags]
    ... I use SSH to forward connections between an intranet server at home and my ... To do this, the user on the remote machine need not have a shell, either ... start a shell on the remote host, ... you can have ssh run a command instead of an interactive shell by ...
    (FreeBSD-Security)
  • Re: UK Shell Provider
    ... http://templarshells.mine.nu Services include access to linux programs, ... "Access to the Templar Server is via Ssh (Secure Shell). ...
    (uk.telecom.broadband)
  • Re: [fw-wiz] Best-of-breed Proxies (was Re: Proxy Firewalls ...)
    ... >> It used a chrooted sshd with private passwd/shadow files in the ... >> chroot jail. ... The login shell for the users in that private passwd ... >> config file to get a destination host, and execed an ssh client to ...
    (Firewall-Wizards)