Displaying 20 results from an estimated 5000 matches similar to: ""ssh user@server /bin/sh" vs "no-pty" option."
2005 Mar 10
2
OpenSSH and a "handicaped" flavour of UNIX.
Hello!
Is it possible to make the sources a bit more portable?
I'm on QNX4 with Watcom C v10.6B which has no support for int64.
I'd like to be able to compile as many modules as do not depend on
int64. (Currently I do not need SFTP that bad, the SSH is enough for
me)
--
Best regards,
Anthony mailto:rz1a at mail.ru
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
2005 Mar 21
1
no-pty option.
Hello list!
Not sure if this is a proper list to ask and it's not strictly
OpenSSH related.
I put the "no-pty" option on a key and try to login with it. As it
should be - the shell access is denyed.
However, I get an unrestricted access if I execute a command like
this:
$ ssh user at server /bin/sh
I get the shell that just has no prompt but works as usual.
All this
2005 Mar 21
2
ssh-agent: How to use it properly?
Hello list,
Again not sure if this is a right place to ask.
I read the "Snail book" (SSH, The secure shell. The definitive guide.
1st ed.) and try to figure out whether I need a copy of the ssh-agent
running on a host through which I try connect further.
The Snail book recommends running the ssh-agent on the remote host
always if the TTY is allocated (i.e. I not just
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
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
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
2008 Oct 05
4
Why is -e sent to the remote rsync side?
> $ rsync -e 'ssh -v' lingnu.com:
> OpenSSH_5.1p1 Debian-2, OpenSSL 0.9.8g 19 Oct 2007
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Connecting to lingnu.com [199.203.56.105] port 22.
> debug1: Connection established.
...
> debug1: Sending command: rsync --server --sender -de.L .
As we can see, rsync runs ssh, and
2005 Dec 30
5
rssh: root privilege escalation flaw
Affected Software: rssh - all versions prior to 2.3.0
Vulnerability: local user privilege escalation
Severity: *CRITICAL*
Impact: local users can gain root access
Solution: Please upgrade to v2.3.1
Summary
-------
rssh is a restricted shell which allows a system administrator to
limit users' access to a system via SSH to scp, sftp, rsync, rdist,
and cvs. It also allows the system
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
2013 Sep 24
2
Protocol negotiation issue in rsync
I was trying to use rsync to send files to a fileserver using an rssh
restricted server.
It refuses, saying that trying to override the shell with -e is forbidden. I
didn't type "-e".
When I look at the source, I see
/* Checking the pre-negotiated value allows --protocol=29 override. */
if (protocol_version >= 30) {
/* We make use of the -e
2003 Jan 03
0
[patch] chroot support for openssh-3.5p1
Good Morning All,
Attached is a full patch [or so I hope] enabling chroot support for sshd. I know varied opinions about chroot exist
among the masses; however, I continue to believe that until something far outside the scope of openssh tackles the
sandbox issue, the role of enforcer will continue to be with the daemon.
This patch is based on a previous work by John Furman as well as Eric
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
2017 Sep 01
3
sftp/scp only without real users
Hi,
my goal: sftp/scp only access, without the need for linux users.
I want to provide 10 sftp/scp directories to 10 people. Let's call this
"virtual account"
I don't want to create linux users for each of them.
I would like to create one linux user (backup_user). In his
home-directory will be 10 directories. For each "virtual account" one
directory.
Every
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 Sep 22
4
restricting non-pty cmds with passwd auth
Hi,
I'm looking for a way to force users to use a pty and their login shell.
They have a .profile that forces them to use a specific application.
They are currently logging in with telnetd, so this is effective. I
want to move to openssh, but this would allow "ssh user at host /bin/sh"
and any other commands they can think of to bypass this restriction.
Is there a way to
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
2006 Nov 03
1
[Bug 1257] Wrong times in log files....
http://bugzilla.mindrot.org/show_bug.cgi?id=1257
Summary: Wrong times in log files....
Product: Portable OpenSSH
Version: 4.4p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sftp-server
AssignedTo: bitbucket at mindrot.org
ReportedBy: jean-yves at
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)
2002 Aug 30
1
no, I see now, tru64 pty ownership wrong on entry to setup_sia, may need /usr/lbin/chgpt (WAS Re: Tru64 privsep patch testing)
Hi Toni,
I'm sorry, I haven't had much time to work on this today. When I run sshd
(from the patched snapshot) in a debugger, with a breakpoint early in
setup_sia(), this is what I find after connecting with a client:
(1) There are two sshd processes. One is running as root, and the other
as the user I logged with using the client. The root process is the
one in the debugger,