Displaying 20 results from an estimated 3000 matches similar to: "Aborting an ssh connection on sshrc execution failure"
2005 Feb 07
1
treat output of sshrc as environment assignment lines?
Currently, ~/.ssh/environment can set static environment variables,
and ~/.ssh/rc can run initialization routines. But there is no way
for sshrc to propagate changes to the environment to the user's shell
or command.
There is, however, a possible way to do this. If the
PermitUserEnvironment option is set, sshd could treat the stdout of
sshrc as additional assignment lines of the form
2020 Jun 21
7
[Bug 3185] New: some bashrc broke sshrc
https://bugzilla.mindrot.org/show_bug.cgi?id=3185
Bug ID: 3185
Summary: some bashrc broke sshrc
Product: Portable OpenSSH
Version: 8.3p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
2001 Mar 17
1
sshd executes ~/.ssh/sshrc without using user's shell
I am considering allowing (relitivly) untrusted local users onto my
fileserver, so they can use SFTP to access their home directories.
I have a custom shell, (a taint-mode enabled perl script) that allows
users to change their password, which I have modifed to only allow a
'-c' command for the sftp-server.
I have also disabled TCP port forwarding. However, some reading of the
OpenSSH
2002 Sep 24
0
[Bug 402] New: Suggested sshrc script unsafe
http://bugzilla.mindrot.org/show_bug.cgi?id=402
Summary: Suggested sshrc script unsafe
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Documentation
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: kolya at
2002 Apr 03
0
scp fails with "ls" or other command in sshrc
sshrc MUST NOT produce any output on 'stdout', use 'stderr' instead.
On Wed, Apr 03, 2002 at 01:13:07AM -0800, Mark Pitt wrote:
> On AIX 4.3.3 with 2.9.9 and 3.1.p1, once I place "ls"
> or any other command in sshrc such as:
>
> ls
> ls > /tmp7junk.txt
> cat /tmp/junk.txt
>
> then scp simply ceases to work, stopping at first
> "file
2011 Sep 16
2
weird make errors on portable snapshots
When doing a make with the portable developer version,
I came across this error:
ssh/ssh_host_ecdsa_key|/opt/etc/ssh_host_ecdsa_key|g' -e
's|/etc/ssh/ssh_host_dsa_key|/opt/etc/ssh_host_dsa_key|g' -e
's|/etc/ssh/ssh_host_rsa_key|/opt/etc/ssh_host_rsa_key|g' -e
's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e
's|/etc/moduli|/opt/etc/moduli|g' -e
2018 Jan 08
3
SFTP chroot: Writable root
On Sun, 2018-01-07 at 18:41 +0000, halfdog wrote:
> Hello list,
>
> I created a page to demonstrate, what would happen when chroot
> root directory is writeable. In fact, code execution is possible
> already, when only /etc and /bin are writable. I also tried to
> escape the chroot jail, but that did not work for non-root users.
>
> As the 2009 CVE activities mention,
1997 Feb 22
2
ssh and limits on resources
While logging in via ssh (versions 1.2.17 and 1.2.12) under Linux 2.0, I
found that limits weren''t being set (as shown by the output of "limit"
(tcsh) or "ulimit -a" (bash). Since /etc/profile, /etc/csh.cshrc, and
/etc/limits were ignored, I made /etc/sshrc and put "ulimit" statements in
it. However, I was unable to limit the number of processes this way,
2002 Mar 28
1
DISPLAY=unix:10.0 and localhost blues
I have just finished battling with this and noticed it
has been reported on HP systems too.
Problem ist, if you have an sshrc file with:
XKEY=`cat -`
-n "$DISPLAY" && $XAUTH add $DISPLAY $XKEY
then with SSH 3.1 this mysteriously fails, as the
DISPLAY is now localhost:10.0 instead of $HOST:10.0
I imagine the reasoning behind the change is to
accomodate hosts that have no
2012 Aug 22
3
[Bug 1815] RemoteCommand and PseudoTTY config options
https://bugzilla.mindrot.org/show_bug.cgi?id=1815
Tisza Gerg? <gtisza at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gtisza at gmail.com
--- Comment #5 from Tisza Gerg? <gtisza at gmail.com> ---
One possible use case for
2003 Apr 09
2
[Bug 540] sshd [priv] doesn't give shell a tty and is killed by ^C too easily
http://bugzilla.mindrot.org/show_bug.cgi?id=540
stuge-openssh-unix-dev at cdy.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|sshd [priv] has PPID 1 and |sshd [priv] doesn't give
|is killed by ^C in terminal |shell a tty and is killed by
2009 Mar 23
4
OpenSSH GSoC Project
Hello,
I apologize if this isn't the right place to post about the Google
Summer of Code; if so, I would appreciate guidance toward the correct
list.
If this is the correct list, I would appreciate answers to the message
below.
Thanks.
-----Original Message-----
From: Jawaad Ahmad <jawaadahmad32 at webster.edu>
To: djm at openssh.com
Subject: OpenSSH GSoC Project
Date: Thu, 19 Mar
2010 Apr 14
3
Problem with recode -Error in parse(text = range[[1]][1]) : unexpected end of input in " c(0"
Dear colleagues,
in the help archive there was a previous person who encountered a
problem with the "recode" command in the car library. I'm not sure if
that was solved, there was no posting to that effect, but I'm having
the same problem.
I'm trying to recode a numeric variable with values from 0-100 into a
binary variable with values (0,1).
The following command:
2010 May 27
2
help calculating variable based on factor level of another
Dear colleagues,
I want to calculate the value of x2 based on the value of x1. x1 is a
factor with three separate levels. I want to make sure that missing
values remain as NA in X2, but non-missing values take on a value of
either 0 or 1 dependending on the value in x1.
This is the code I'm working with...Can any one help?
I've seen some other requests on a topic like this, but not
2002 Sep 24
0
[Bug 402] Suggested sshrc script unsafe
http://bugzilla.mindrot.org/show_bug.cgi?id=402
todd at openbsd.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From todd at openbsd.org 2002-09-25 07:04
2006 Sep 28
0
[Bug 1177] Incorrect sshrc file location in Makefile.in
http://bugzilla.mindrot.org/show_bug.cgi?id=1177
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Comment #5 from dtucker at zip.com.au 2006-09-28 19:26 -------
With the release of 4.4, we believe that this bug is
2009 Jan 09
1
setting umask for internal-sftp users
I'm running OpenSSH 5.1p1 on openSUSE 10.3 (i586) and I want to setup chroot jails for certain
SFTP-only users. I use the following lines in my sshd_config file:
Match Group sftponly
ChrootDirectory /home/chroot-%u
ForceCommand internal-sftp
It works great.
The problem is that some of my users need umask 002 for their uploads. I tried a few ways to
achieve this:
* set umask in sshrc,
2016 Aug 02
6
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
With this change built ok.
But patch must be quite different on my platform (see attached) for
portable version.
And, of course, after autoreconf run.
02.08.2016 10:55, Darren Tucker ?????:
> --- a/configure.ac
> +++ b/configure.ac
> @@ -754,6 +754,9 @@ main() { if (NSVersionOfRunTimeLibrary("System")
>= (60 << 16))
2012 Sep 24
1
Traffic Accounting
Hi,
I'm trying to find out how to do traffic accounting with Dovecot 2.x,
preferrably v2.0.9, preferrably on CentOS 6.
I've previously asked on IRC, but there was little feedback, and my
understanding is now this list is the preferred media for such
inquiries. If I recall correctly, some weeks ago I was told that traffic
accounting is not officially supported on Dovecot 2, but that there
2016 Aug 01
4
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Solaris 10 x64 kernel 150401-35
LibreSSL 2.4.1
GCC 5.2
./configure --with-privsep-user=sshd --with-pam --with-pie
--with-ssl-dir=/usr/local 'CFLAGS=-O3 -m64 -mtune=native -pipe'
'LDFLAGS=-m64'
successful.
gmake produces error:
root @ khorne /patch/openssh-7.3p1 # gmake
conffile=`echo sshd_config.out | sed