Displaying 20 results from an estimated 2000 matches similar to: "[PATCH] sftp-server Restricted Access"
2005 Jan 15
0
rssh and scponly arbitrary command execution
I just released rssh version 2.2.3 to fix the problem detailed below.
I haven't had time to update my website yet, and my Internet acess is
quite limited these days (hence the terse announcement), so I probably
won't get to that for a while. However, rssh 2.2.3 is available from
the sourceforge.net site:
http://sourceforge.net/projects/rssh
All users of rssh should update to the
2004 Dec 03
1
[BUGTRAQ] rssh and scponly arbitrary command execution
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[This came over BUGTRAQ this morning. Note the call for volunteers
vis-a-vis rssh.]
- ----- Forwarded message from Jason Wies <jason at xc.net> -----
List-Id: <bugtraq.list-id.securityfocus.com>
List-Subscribe: <mailto:bugtraq-subscribe at securityfocus.com>
To: bugtraq at securityfocus.com
Cc: rssh-discuss at
2003 Aug 16
0
sftp-server (secure) chroot patch?
Hello,
I know this chroot issue has been brought up many times before on this list. I saw that the contribibuted chroot-patch was removed from the contrib directory because it always was out of date. The main reason was of course was that sftp-server has to be run as root to be able to do the chroot() call? Most of you are against chroot (since it isnt in the src) but I believe a lot of users
2023 Dec 08
2
Non-shell accounts and scp/sftp
On Fri, 8 Dec 2023 at 07:39, Philip Prindeville
<philipp_subx at redfish-solutions.com> wrote:
[...]
> Problem is that if their default shell isn't sh, ash, dash, bash, zsh, etc. then things break.
> Is there a workaround to allow scp/sftp to continue to work even for non-shell accounts?
sftp should work regardless of the user's shell since it is invoked as
a ssh subsystem
2012 Feb 07
3
Suggestion for openssh
Hi!
I do not know if it's the ideal place, but I'm sending some suggestion.
Always use openssh and its enormous features.
- I needed to create an environment with only sftp access and thus used:
- Match User suporte
ForceCommand / usr / lib / openssh / sftp-server
OK! It worked perfectly! But only sftp.
- Create an environment with only blocking the ssh, but scp and
2011 Mar 27
1
rssh / scponly
List,
I am putting together a sftp server and would like to use a restrictive
shell with a chroot jail. I was wondering what members of the list
thought about rssh as opposed to scponly.
Greg Ennis
2007 Sep 05
3
Chrooting SFTP over SSH2
Hi,
As per the subject line - if I look up setting up chroot jails for SFTP over
SSH2 I'm led to various Web sites and patches and also to a CentOS wiki page
dated 2005, but what's the 'best' or 'correct' way to set this up for Centos
4.5 and 5?
Thanks
2002 Aug 16
2
restricted scp and/or sftp
An embedded and charset-unspecified text was scrubbed...
Name: msg.pgp
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020816/fc49c170/attachment.ksh
2004 Jun 19
0
security flaw in rssh
rssh is a small shell whose purpose is to restrict users to using scp
or sftp, and also provides the facilities to place users in a chroot
jail. It can also be used to lock users out of a system completely.
William F. McCaw identified a minor security flaw in rssh when used
with chroot jails.
There is a bug in rssh 2.0 - 2.1.x which allows a user to gather
information outside of a chrooted jail
2004 Oct 23
1
rssh: pizzacode security alert
PIZZACODE SECURITY ALERT
program: rssh
risk: low[*]
problem: string format vulnerability in log.c
details:
rssh is a restricted shell for use with OpenSSH, allowing only scp
and/or sftp. For example, if you have a server which you only want to
allow users to copy files off of via scp, without providing shell
access, you can use rssh to do that. Additioanlly, running rsync,
rdist, and cvs are
2001 Apr 28
1
restricted shell
Hello,
I would like to elicit a discussion about the merits of a statically linked
restricted chrooting shell like scponly which incorporates the functionality of scp
and sftp. The benefits is that a chrooted user directory does not have to
contain the binaries or libraries for scp and sftp and an administrator does not have to
play games with the home path to chroot a user. The disadvantage, of
2003 Jul 07
0
[semi-OT] rssh FINAL RELEASE! Well, hopefully.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm pleased to announce that rssh now has per-user configurations!
Today I released rssh v2.1.0 with that last peice of functionality to
be added, bringing active development of rssh to a close.
Additionally, I spent several hours testing and debugging this release
as thoroughly as I could think to, and I'm pleased to report (tongue
in cheek)
2010 Apr 13
3
[Bug 1755] New: Broken pipe with scponly with debuglevel
https://bugzilla.mindrot.org/show_bug.cgi?id=1755
Summary: Broken pipe with scponly with debuglevel
Product: Portable OpenSSH
Version: 5.4p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
2023 Dec 07
3
Non-shell accounts and scp/sftp
Hi,
We have a CLI that certain users get dropped into when they log in. One of the things they can go is generate certificates (actually .p12 key/certificate bundles) that they will then scp out of the box from another host.
Problem is that if their default shell isn't sh, ash, dash, bash, zsh, etc. then things break. Is there a workaround to allow scp/sftp to continue to work even for
2008 Mar 08
1
rsync 3.0 and rssh
Since rsync 3.0 i've detected a problem with rssh and -e option....rssh
doesn't allow this option...but is essential to me (cyphered transmission
with ssh).
Surfing the net i've seen a guy that made a patch but I don't know how
reliable is...and rssh former programer says he just left the project so
it's no longer his problem.
Is this stuff going to be updated in rsync or is
2003 Jul 02
0
[semi-OT] rssh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I released rssh v2.0.4 today. It fixes bugs in the parser which
affect quoted arguments in the config file, as well as the code which
builds the vector for the arguments to the exec call. In the latter
case, arguments which contain a space were treated as two sepearate
args. The man page was also updated to include information about
quoting values
2003 Jan 02
0
rssh 1.0.4 released
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks,
Today I released rssh 1.0.4. rssh is a small replacement shell that
provides the ability for system administrators to give specific users
access to a given system via scp or sftp only.
For downloads or more information, visit the rssh homepage:
http://www.pizzashack.org/rssh
This release fixes a stupid bug caused by a failure to
2012 May 10
2
Is there any method, with ChrootDirectory and internal-sftp, to automatically cd to a subdir on login?
Hi,
This is either a query or a feature request. I have a system where sftp
users are chrooted using scponly, which while requiring much more setup than
OpenSSH's internal-sftp method, has the useful feature of allowing an
initial chroot to a subdirectory, typically the one used for file exchange.
I've searched for a way to do the same thing with OpenSSH. So far haven't
found it.
If
2012 Feb 13
0
displaying user and group names in chroot sftp
I am testing a chrooted environment for sftp using the
internal-sftp subsystem. Now that I seem to have SELinux
mostly out of the way, when I do an 'ls -l' after the sftp
login I see only numbers for the uids and gids.
When I was using scponly I simply had a local version of
/etc/passwd and /etc/group but these are evidently not
used by the internal sftp subsystem. Is there a way to
get
2005 Aug 04
0
Patch to selectively override a user's shell
Hello,
I don't know if this is of anybody's interest here, but I have
written a patch to selectively override a user's shell dependent of
the username.
The reason behind this is, that at the high performance cluster I
work at, we would like that normal users are only permitted to use
scp and sftp (and thus a shell like rssh) on our master nodes, but
should retain their