Displaying 20 results from an estimated 400 matches similar to: "Make SSH_ORIGINAL_COMMAND available in AuthorizedKeysCommand context"
2014 Jul 08
2
[Bug 2253] New: No "$@"-like SSH_ORIGINAL_COMMAND leads to escaping, arg-sep and metachar issues
https://bugzilla.mindrot.org/show_bug.cgi?id=2253
Bug ID: 2253
Summary: No "$@"-like SSH_ORIGINAL_COMMAND leads to escaping,
arg-sep and metachar issues
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
2005 May 11
0
SSH_ORIGINAL_COMMAND and no forced command
i just noticed that the env. variable SSH_ORIGINAL_COMMAND is no more
set if there is no forced command.
was there a reason to do so?
Background:
I'm using a wrapper that can be used as forced command and as shell.
(most of the time as forced command, but now I had a task where it had
to be used as shell)
The wrapper currently only gets its parameters by parsing the
SSH_ORIGINAL_COMMAND
2008 Feb 16
2
Dovecot pgsqlauthentication database reconnection/failover problem
Hi,
Our mail system uses dovecot-1.0-1.2.rc15.el5 in Centos-5.1 as our imap
server. It connects to a pgsql database in another server as authentication
backend. It works fine except occasionally fails to reconnect to the database
after temporary network block, and dovecot has to be restarted to work again
in such case. Since I can't find any specific setting in dovecot.conf to
handle
2008 Jul 09
1
Deleting an exported resource
I had a host that was exporting a resource to another host to trigger
backups. The first host has now gone away, but the second host is
still seeing the exported resource (because it still exists in the
puppetmaster''s database). I fixed the problem by going in to the
database and deleting all the rows I could find that related to the
absent host, but I''m wondering if
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/test/functional/host_controller_test.rb | 41 --------------------
.../functional/managed_node_configuration_test.rb | 14 ++++---
src/test/functional/nic_controller_test.rb | 8 ----
src/test/functional/permission_controller_test.rb | 15 ++++---
src/test/functional/quota_controller_test.rb | 2 +-
2011 Apr 09
1
Pretty URLs for omega?
Hello :-)
How can the default omega URL be prettified?
http://<host_ID>/cgi-bin/omega is working fine, giving us all omega's
default CGI parameters. Now we want multiple databases which could be
accessed using http://<host_ID>/cgi-bin/omega?DB=<index_ID> but this is
starting to get messy. It will get messier when we start to customise
templates with
2017 Mar 08
2
Logging with ForceCommand and SCP
Hello List,
I'am using the ForceCommand in my sshd configuration to log all the user
actions on my device.
ForceCommand /usr/bin/log-session.sh
The Log Session Script itself is working fine for logging.
But now I want also use SCP to copy files and this won't work together
with the ForceCommand above.
The copied file is created but its zero byte on the target.
scp file.tar.gz
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
This patch fixes state changes in dbomatic so that there is no
intermediate 'stopped' state after being unreachable or on startup
of dbomatic etc. Also fixes a number of smaller bugs around host
associations, state changes, etc.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/db-omatic/db_omatic.rb | 85 +++++++++++++++++++++++++++++++-------------
1 files changed, 60
2012 Sep 11
1
setup git in my godaddy server
Hello everyone,
I know this is not correct place to ask this question but please help if
you know
As mentioned some tutorial, i install git version 1.7.3.4 in home directory
(/var/chroot/home/content/xx/xxxxxxx/git).
then I initialize git repository by git init --bare in my samplerepo.git
then i add code in .bashrc file as follow
export GIT_BIN=${HOME}/git
export
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
- db, model, service, controller, and view changes
- many tests additions
- various fixes / cleanup to get things working
depends on my last two (still unacked) patches:
- add collapsable sections to vm form
- provide default vm allocated cpu and memory values
ovirt-agent might need to be updated to work with the changes
---
src/app/controllers/pool_controller.rb | 2 +-
2000 May 24
0
'command' option in authorized_keys
I am a recent convert to openssh. I am very pleased with it, and find it
superior to ssh-1.2.27 in many ways (thanks for the good work).
I recently found one piece missing from the current release. I have used
the 'command' option in the authorized_keys file to restrict access. Using
ssh-1.2.27 the original command was placed in the SSH_ORIGINAL_COMMAND
envrionment variable. If
2005 Jun 09
1
need good wrapper
I'm having trouble with the rsync wrapper's I've found online:
rsync_wrapper[8458]: SSH_ORIGINAL_COMMAND environment variable
apparently not set
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
I'm not sure if this is a problem of incompatibility between my RHES3
and the wrappers I've found or
2006 Dec 29
5
sqlite errors
Hello,
When I kick off SVN1992 with storeconfigs=yes, I get the following error:
err: Could not store configs: SQLite3::SQLException: SQL logic error
or missing database: INSERT INTO resources ("exported", "line",
"title", "host_id", "restype", "source_file_id") VALUES(NULL, 23,
''svnpkgadd-emacs-nox-etc'', NULL, NULL,
2023 Nov 12
1
restrict file transfer in rsync, scp, sftp?
On 12.11.23 03:52, Damien Miller wrote:
> On Sat, 11 Nov 2023, Bob Proulx wrote:
>
>> I am supporting a site that allows members to upload release files. I
>> have inherited this site which was previously existing. The goal is
>> to allow members to file transfer to and from their project area for
>> release distribution but not to allow general shell access and not
2008 Jan 04
3
Facts not being updated when using storeconfigs
Hi,
I think I''m having a similar problem to the user who raised this bug:
http://reductivelabs.com/trac/puppet/ticket/733
I''m running 0.23.2 with storeconfigs. I''ve got it working to the point
where my clients'' facts are being populated in the database[*] but
updates don''t seem to happen unless I restart puppetmasterd. For
example:
1) I run my test
2006 May 27
7
How should I select rows from a join-model based on more than one association?
A concrete example:
We''re building a system to organize the information about workshops
being held in various conventions. A convention has more than one
workshop, and each workshop can be held in more than one convention.
Also each workshop has a host, who is specific to a workshop being
held in a specific convention.
For example, Matz may host an "Introduction to Ruby"
2012 Feb 22
1
[libvirt] a question about sanlock
Hi Daniel,
I got a question about lock manager, if I enable 'sanlock' in qemu.conf and
uncomment 'auto_disk_leases = 1' in qemu-sanlock.conf then restart libvirtd
service, libvirtd will be dead, I know I should also uncomment 'host_id = 1'
in qemu-sanlock.conf, because I enable 'auto_disk_leases'. The question is
the libvirtd must die due to a error users
2023 Jun 29
2
Subsystem sftp invoked even though forced command created
Folks,
I'm curious if the documented behavior of portable OpenSSH (specifically Linux) may be at odds with the actual behavior I have seen in my experiments. Here is the background:
I manage an application which collects data from a client script (Korn shell) which runs on Unix and Linux servers across the entire enterprise. The client communicates with a Linux server (currently running RHEL
2009 May 15
0
[PATCH server] use service layer for Network controller.
There's still room for additional refactoring as we may want to eventually split out nic, bonding, and ip address manipulation into their own controller/svc module, but that would be a much more extensive redesign than we want to deal with for the overall service layer creation refactoring.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/network_controller.rb
2023 Sep 19
1
Subsystem sftp invoked even though forced command created
This is a new branch of an old thread, made necessary because the email system here purges sent messages after a period of time so I can't reply to the last message in the thread. The operative portion of that last message (retrieved from the archives and dated July 3, 2023) follows:
/*****/
So I set up a fresh key to use for this test, and gave it similar parameters.
I wasn't aware of