Displaying 20 results from an estimated 1000 matches similar to: "[Bug 3185] New: some bashrc broke sshrc"
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 Sep 18
2
Aborting an ssh connection on sshrc execution failure
Hi!
It feels like there is an obvious answer to this that I'm not seeing,
but I've been testing, reading manuals and googling for a while now and
can't seem to get it to work.
I have an SSH server that mounts a windows share on login, to act as a
SFTP proxy for windows home directories. The mounting of the users'
homedirs is done via a call from /etc/ssh/sshrc. This mount
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
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
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))
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,
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
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
2003 Dec 11
4
[Bug 771] Add option to override XAUTHORITY env variable
http://bugzilla.mindrot.org/show_bug.cgi?id=771
Summary: Add option to override XAUTHORITY env variable
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: UltraSparc
OS/Version: SunOS
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
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
2020 May 08
79
[Bug 3162] New: Tracking bug for 8.4 release
https://bugzilla.mindrot.org/show_bug.cgi?id=3162
Bug ID: 3162
Summary: Tracking bug for 8.4 release
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: All
Status: NEW
Keywords: meta
Severity: enhancement
Priority: P5
Component: Miscellaneous
Assignee:
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:
2006 Feb 02
3
Make error durring compilation of OpenSSH 4.3p1 on HP-UX 11.00
Hi,
compilation of OpenSSH 4.2p1 / OpenSSL 0.9.8a / zlib 1.2.3 worked fine on
Linux i386 / x86_64, SunOS, AIX and HP-UX.
Compilation of OpenSSH 4.3p1 / OpenSSL 0.9.8a / zlib 1.2.3 works fine now
only on Linux i386 / x86_64, SunOS, AIX.
But on HP-UX 11.00 (gcc 3.3.2), "make" produces following...
(cd openbsd-compat && make)
gcc -o ssh ssh.o readconf.o
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
2008 Aug 26
1
screen not sourcing .bashrc
Hi everyone,
I use the "screen" command from time to time and what i would still
have to figure out how to do is for it to be able to source .bashrc
and read my user-defined configuration (aliases for example).
I have already added the "source /root/.bashrc" line on
/root/.screenrc but it doesn't seem to be working.
Would anyone know how this should work?
Thanks,
Matt
2003 Feb 15
2
scp + .bashrc buglet
Hi OpenSSH folks,
Just a quick note: this is my .bashrc:
# Executed by non-login interactive shell
#
# scp go wild when it see this
#echo "<*> Executing ~/.bashrc from '$0'. Command line: '$*'"
#ps -H e
#echo "<*> Finished ~/.bashrc"
Line 3 was added and subsequent lines commented out.
Now scp works. Looks like a little scp bug for me.
CC me,