Displaying 20 results from an estimated 7000 matches similar to: "ProxyCommand's argument escaping"
2024 Jan 14
2
ProxyJump may construct erroneous ProxyCommand
Hello,
On macOS, Terminal?s ?New Remote Connection?? command runs ssh in a new window like this:
login -pfq $USER /usr/bin/ssh $HOST
Here, login executes /usr/bin/ssh with argv[0] set to ?-ssh?.
If $HOST has a ProxyJump configuration, the resulting ProxyCommand is:
-ssh -W '[%h]:%p' $JUMP_HOST
Because of the leading hyphen, this fails to execute. If the user?s shell is zsh, the
2024 Jan 14
2
ProxyJump may construct erroneous ProxyCommand
On Sat, 13 Jan 2024, Rob Leslie wrote:
> Hello,
>
> On macOS, Terminal?s ?New Remote Connection?? command runs ssh in a new window like this:
>
> login -pfq $USER /usr/bin/ssh $HOST
>
> Here, login executes /usr/bin/ssh with argv[0] set to ?-ssh?.
>
> If $HOST has a ProxyJump configuration, the resulting ProxyCommand is:
>
> -ssh -W '[%h]:%p'
2002 Apr 17
1
ProxyCommand commands don't exit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've noticed that when I use ProxyCommand commands to connect, the
commands do not exit when ssh exits. This results in a bunch of commands
piling up on the machine over time.
I experimented with four machines:
linux-2.2.19+patches, openssh-3.0.1p1
linux-2.2.14+patches, openssh-3.0.1p1
freebsd-4.5-stable, openssh-2.9 localisations 20020307
2003 May 20
1
[Bug 572] No Effect "ProxyCommand none" in ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=572
Summary: No Effect "ProxyCommand none" in ssh_config
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
2008 Jul 29
7
[Bug 1494] New: doesn't look on path for $SHELL
https://bugzilla.mindrot.org/show_bug.cgi?id=1494
Summary: doesn't look on path for $SHELL
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.1p1
Platform: Other
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=49272
8
OS/Version: Linux
Status: NEW
Severity:
2003 Apr 02
0
[Bug 528] ProxyCommand none breaks ssh
http://bugzilla.mindrot.org/show_bug.cgi?id=528
Summary: ProxyCommand none breaks ssh
Product: Portable OpenSSH
Version: 3.6p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: arjones at
2003 Apr 02
3
[Bug 528] ProxyCommand none is sensitive to extra whitespace
http://bugzilla.mindrot.org/show_bug.cgi?id=528
mouring at eviladmin.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ProxyCommand none breaks ssh|ProxyCommand none is
| |sensitive to extra
|
2003 Jun 16
2
[Bug 596] "ProxyCommand none" doesn't work
http://bugzilla.mindrot.org/show_bug.cgi?id=596
Summary: "ProxyCommand none" doesn't work
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
ReportedBy:
2000 Apr 14
0
BNon-member submission from [Randy Dunlap <randy.dunlap@intel.com>] (fwd)
From: Randy Dunlap <randy.dunlap at intel.com>
To: openssh-unix-dev at mindrot.org
Subject: using proxy & firewall
Hi,
(Please cc me on replies. I'm not subscribed.)
I'm new to using ssh and I'm having some beginner
problems -- I hope.
I've having some trouble using openssh thru a firewall
to sourceforge.net. I'm using Linux (was RedHat 2.2.x,
but now is
2012 Feb 06
4
[Bug 1977] New: ProxyCommand seems to no execute shell commands
https://bugzilla.mindrot.org/show_bug.cgi?id=1977
Bug #: 1977
Summary: ProxyCommand seems to no execute shell commands
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
2013 Jul 05
2
Trouble with -W
I want to ssh from a client to a machine on a closed network via a
jumphost; let's call them {client,internal,jumphost}.example.com. I
have authpf set up on the jumphost so that when logged in, I am allowed
to open TCP connections from the jumphost to port 22 on internal nodes.
This works well with port forwarding:
des at client ~% ssh -L2222:internal.example.com:22 jumphost.example.com
2013 Oct 23
1
ProxyCommand brokent in recent snapshots
Hello,
While testing recent snapshots (20131023 and 20131024) I encountered a
problem with ProxyCommand. The regression tests all passed, but the use
of ProxyCommand's in my ~/.ssh/config resulted in name resolution
errors; even if CanonicalizeHostname was explicitly set to "no."
The patch included inline below fixed the issue:
Index: ssh.c
2017 Nov 10
3
ProxyCommand that creates identity file
Hi there,
I'm working on a project to write a ProxyCommand that reaches out to an SSH
CA to receive an SSH certificate prior to the connection. The ProxyCommand
also creates a tunnel to the upstream SSH server.
When using ProxyCommand alone, the issue is that the identity files are
loaded as soon as SSH has fork/exec'd the process. It does not wait for a
valid server negotiation.
I
2024 Nov 12
2
[Bug 3751] New: ssh fails to parse ProxyCommand option with a string that ends in a backslash
https://bugzilla.mindrot.org/show_bug.cgi?id=3751
Bug ID: 3751
Summary: ssh fails to parse ProxyCommand option with a string
that ends in a backslash
Product: Portable OpenSSH
Version: 8.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
2015 May 26
2
Name based SSH proxy
On 26/05/15 18.29, Daniel Kahn Gillmor wrote:
> On Tue 2015-05-26 17:42:40 -0400, Kasper Dupont wrote:
> > But it does not address all my requirements. I have a
> > requirement that the hostname being used must be visible
> > to the administrator of the SSH server. And it must be
> > visible with minimal effort without requiring any software
> > changes on the
2002 Jan 23
1
[Bug 52] ssh hangs on exit
http://bugzilla.mindrot.org/show_bug.cgi?id=52
------- Additional Comments From djm at mindrot.org 2002-01-23 17:37 -------
This is a known issue and has been discussed extensively on the mailings list.
There is difference of opinion as to whether this is a bug or whether it is
correct behaviour.
A good description of the issue comes from a text file in Redhat's source RPM:
2017 Nov 03
2
ControlPath versus ProxyCommand
TL;DR: I expect ProxyCommand to have effect in preference to ControlPath.
I've just tripped over this one. I have an ssh Host (let us call it "MAIN")
with a ControlPath and with ControlMaster=no, from the .ssh/config file.
I also have a shell script whose purpose is to hop to a remote host through a
port forward, which uses the ProxyCommand option like this:
ProxyCommand ssh
2002 Sep 26
1
Question regarding patch for ProxyCommand setting
Hi!
I recently started using ProxyCommand and noticed that it's not
possible to specify a "none" value for it. I've already written a
patch for that, but wanted to discuss the issue before posting the
patch.
The problem is the following: I'd like to use a ProxyCommand by
default, but exclude some hosts. But as soon as I have
Host *
ProxyCommand /some/proxy/command %h %p
2017 Nov 03
2
ControlPath versus ProxyCommand
On 03Nov2017 13:07, Damien Miller <djm at mindrot.org> wrote:
>On Fri, 3 Nov 2017, Cameron Simpson wrote:
>> TL;DR: I expect ProxyCommand to have effect in preference to
>> ControlPath.
[...]
>> On reflection, of course these are distinct options and that side of
>> things isn't, of itself, a bug. However, is there a sane use case for
>> using
2010 Nov 08
1
How to explicitly define the default setting for ProxyCommand for a particular host
I would like to create an ssh_config file with two basic groups of settings:
A default "Host *" settings group with:
Proxycommand=/my/helper/binary
%h %p
And another specific "Host specialServer" settings group with
ProxyCommand=
or
ProxyCommand=''
And yes, my current ssh_config file is setup in the correct order with the "Host *" declaration last.
Host