Displaying 20 results from an estimated 1000 matches similar to: "sshd executes ~/.ssh/sshrc without using user's shell"
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
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 23
1
Restricted SFTP
As I have mentioned earlier on this list, I want to allow (relitivly)
untrusted local users to SFTP to my server, as a secure method of remote
file access.
What I would like to do is to keep users within their home directory. I
don't mind that it follows symlinks (if fact its probably a
requirement), but some basic restriction on what users can see/access
would be handy.
The check I
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,
2009 Jun 04
4
Binning or grouping data
Newbie here. Many apologies in advance for using the incorrect lingo. I'm
new to statistics and VERY new to R.
I'm attempting to "group" or "bin" data together in order to analyze them as
a combined group rather than as discrete set. I'll provide a simple example
of the data for illustrative purposes.
Patient ID | Charges | Age | Race
1 |
2008 Dec 17
2
SSL Certificate Authentication
Hi Guys,
I am using the SSL Client Certificate authentication method for my
Dovecot instance, however rather then just requiring the client
certificate it also prompts me for my user password.
My certificate was securely generated on a smart card and is passphrase
protected so I would like to stop having to enter my certificate
passphrase and my user password to collect my mail. Where abouts in
2007 Jun 05
3
Outlook dialing
The bar is getting raised yet again
http://www.voipmonitor.net/2007/06/05/New+Features+And+Services+For+Pack
et8+Virtual+Office.aspx
I personally use Snapanumber $30 or there abouts (after trialing a few
other TAPI solutions and finding them sub-par) and think it's a great
product but interesting to see how more people are expecting
desktop/phone integration applications.
Does anyone
2018 Aug 31
3
OT: Linux recommendations for old Pentium PC
On Friday 31 August 2018 15:44:53 Valeri Galtsev wrote:
>
> I would use FreeBSD (and I do use FreeBSD for bacula, now bareos backup
> server and storage hosts), it has really small "footprint", and it is
> quite widespread.
>
> Incidentally, I was using bacula for very long time, but recently I
> switched to bacula's fork: bareos. You may want to consider the
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
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
2009 Aug 29
5
error using winetricks
im trying to use wachandler to use my hifi which is philips wac7000
ive been told wine will run the handler but needs winetricks
ive installed wine and winetricks but i need directx 9, jet40,mdac28,wininet,wmp10
when i tell winetricks to install directx and the others, the downloading of each seem to freeze at 15% or there abouts
so i reboot and try again and get the following error
sah1sum
2005 Mar 25
1
grandstream firmware update 1.0.5.23
Version 1.0.5.23 is now available from http://gs-firmware.gratissip.dk/
Or directly from Grandstream at
http://www.grandstream.com/BETATEST/Release-b21p1.0.5.23.zip
Release notes doc here
http://www.grandstream.com/BETATEST/Release_Note_1.0.5.23.doc
while on the matter I just want to extend a note of thanks to
Grandstream, I had 2 early handsets of theirs fail recently (about 9
months old)
2006 Apr 05
1
Jazz drive
Hi
We setup a server the other day for a client, and it has a 35gig jazz
drive in it.
Centos 4.2 recognizes it as a cd disk. How would I go abouts getting it
to read and write to it?
When I click on the cd-rom disc icon it loads up cd/dvd creator.
Shouldn't it just recognize it as an external drive?
Thanks