Package Details: rssh 2.3.4-5

Git Clone URL: https://aur.archlinux.org/rssh.git (read-only)
Package Base: rssh
Description: Restricted secure shell allowing only scp, sftp, cvs, rsync or rdist
Upstream URL: http://www.pizzashack.org/rssh/
Licenses: custom:rssh
Submitter: vesath
Maintainer: eworm
Last Packager: eworm
Votes: 9
Popularity: 0.015835
First Submitted: 2012-08-03 03:45
Last Updated: 2015-06-30 09:44

Required by (0)

Sources (10)

Latest Comments

starfry commented on 2015-04-29 10:52

This does not work for rsync if the server is running rsync version 3. Any attempts to use rsync to connect to an account that has rssh has its shell will fail with an error message "illegal insecure e option".

The issue is well documented and Red Hat has issued a patch that fixes it. Please see the patch at http://pkgs.fedoraproject.org/cgit/rssh.git/plain/rssh-2.3.4-rsync-protocol.patch.

Unfortunately, the upstream maintainer isn't interested in fixing it. See http://sourceforge.net/p/rssh/mailman/rssh-discuss/thread/alpine.LRH.1.00.0801231048440.31934@thor.webcon.net.

I have applied this patch to the PKGBUILD for 2.3.4-3. My revised PKGBUILD for 2.3.4-4 is here: https://gist.github.com/87f9911e8d9062a6ae9f.

Note the revised patch from Red Hat REPLACES the patch "rsync.patch" in the current PKGBUILD.

strshr commented on 2014-10-11 06:48

Works perfectly! Thanks a lot, eworm. :)

P.S. You can add armv6h to the list of the supported architectures in PKGBUILD, I confirm that it works without any issues on my Raspberry PI.

eworm commented on 2014-10-07 13:53

Thanks for reporting this. Does version 2.3.4-2 fix your problem?

strshr commented on 2014-10-07 11:40

mkchroot is looking for libnss_compat* and libnss_files* in /lib, however on my install (Archlinux on Raspberry) they're located in /usr/lib, which results in a non working sftp jail for me (session just drops). Copying libnss_files* from the /usr/lib to jail's /usr/lib fixed the issue.