The rssh-2.3.2 ebuild has "--with-sftp-server=/usr/lib/misc/sftp-server" hard-coded. On my Gentoo 2005.1 system, openssh-4.2_p1-r1 installs sftp-server in /usr/lib64/misc/. As a result, attempts at using rssh causes the following log messages to appear: Mar 8 15:14:41 img rssh[4742]: user Oedipus attempted to execute forbidden commands Mar 8 15:14:41 img rssh[4742]: command: /usr/lib64/misc/sftp-server I've modified the ebuild to account for amd64 systems, but there's probably a better way to do it.
Created attachment 81718 [details, diff] Patch to get rssh-2.3.2 ebuild working on amd64 Here's my modification to the rssh-2.3.2 ebuild to get it working on amd64. Like I said, there's probably a better way to do this officially, but at least you get the idea of what needs to be done. I guess the question is whether or not all packages that satisfy "virtual/ssh" put sftp-server in the same place.
your /usr/lib should be a symlink to /usr/lib64
fixed in cvs
(In reply to comment #2) > your /usr/lib should be a symlink to /usr/lib64 > It is, but rssh using the 2.3.2 ebuild still tosses out the "attempted to execute forbidden commands" error in the logs, because sshd is trying to launch "/usr/lib64/misc/sftp-server."