Package Details: rssh 2.3.4-5

Git Clone URL: https://aur.archlinux.org/rssh.git (read-only, click to copy)
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: 14
Popularity: 0.000713
First Submitted: 2012-08-03 03:45 (UTC)
Last Updated: 2015-06-30 09:44 (UTC)

Latest Comments

starfry commented on 2018-04-15 18:29 (UTC)

@ricot well it works for me without it being in /etc/shells.

I set it as the shell for a user's /etc/passwd entry for the specific case of executing a forced rsync command when the user connects over ssh. My /etc/shells only contains sh and bash. Your use case may be different to mine.

ricot commented on 2018-04-10 02:43 (UTC)

Shouldn't this also add the shell to /etc/shells? Took me a while to figure out that this was the reason that nothing worked...

mrohnstock commented on 2016-10-21 11:03 (UTC)

oh dear thanks @starfry, reexecuting mkchroot.sh did the trick - thanks :).

starfry commented on 2016-10-14 12:52 (UTC)

@mrohnstock rsync isn't in this package, it is just a command that rssh allows you to execute. It is installed on the remote host where rssh is installed. Unless I misunderstand what you're asking, you need to check the verision of rsync on the server side of your rsync command...

mrohnstock commented on 2016-10-14 08:28 (UTC) (edited on 2016-10-14 08:29 (UTC) by mrohnstock)

Do anyone know a way to update the included rsync? It still uses v3.0.7 from 2009, which does not support the option "--delete-missing-args" :( - or do anyone know a alternative for rssh?

starfry commented on 2015-04-29 10:52 (UTC)

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 (UTC)

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 (UTC)

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

strshr commented on 2014-10-07 11:40 (UTC)

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.