Displaying 20 results from an estimated 8000 matches similar to: "sftp and ControlPath"
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
2012 Jul 06
1
[Bug 1997] Add QoS to ControlPath escapes
https://bugzilla.mindrot.org/show_bug.cgi?id=1997
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
The problem with this is that
2025 Jan 28
1
ControlPath and differing ssh options?
Hello,
Is there a way to use a different ControlPath depending on command line options, or should there be one?
To be specific, I don?t enable ForwardAgent by default for security reasons but only explicitely (-A) when I need to to e.g. copy files between servers. This and other options don?t play well with multiplexing because I usually already have few terminals open to the host.
The most
2005 Nov 11
1
Can't get LocalForward to work when using ControlPath
Hello All--
First, thanks for ControlPath/ControlMaster. It's very handy, and
ControlMaster=autoask is just what i wanted!
I'm having difficulty with a common use case, however. I want to
LocalForward on secondary connections using an already-established
ControlPath. From what i can tell, the second ssh connection doesn't
report any errors, but silently ignores the supplied
2025 Jan 28
1
ControlPath and differing ssh options?
If one wants to go this way, then I just discovered Tags
it should work like this (I haven?t tested it and never used tags)
Match tagged FA
ForwardAgent yes
ControlPath ~/.ssh/controlmaster-%r@%h-%p-forwardagent
ControlMaster off
?
and then to have a session with forwarding:
ssh -P FA user at host
But I still think we should be able to setup ssh to just do the right thing if the
2015 Aug 21
7
[Bug 2449] New: uid for expansion in ControlPath
https://bugzilla.mindrot.org/show_bug.cgi?id=2449
Bug ID: 2449
Summary: uid for expansion in ControlPath
Product: Portable OpenSSH
Version: 7.0p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
2014 Nov 15
4
[Bug 2318] New: ControlPath collisions when using shared locations like /tmp for the sockets.
https://bugzilla.mindrot.org/show_bug.cgi?id=2318
Bug ID: 2318
Summary: ControlPath collisions when using shared locations
like /tmp for the sockets.
Product: Portable OpenSSH
Version: 6.7p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
2015 Aug 05
2
[PATCH 1/1] uid for expansion in ControlPath
From: Christian Hesse <mail at eworm.de>
Modern Linux systems create a private directory in /run/user/ for each
user, named by user id. This adds a new character sequence '%i' for
expansion in ControlPath to match thisi directory.
Signed-off-by: Christian Hesse <mail at eworm.de>
---
ssh.c | 5 ++++-
ssh_config.5 | 4 +++-
2 files changed, 7 insertions(+), 2
2008 Mar 17
1
feature request: single flag to unset ControlPath
While it's real handy to have "ControlMaster auto" to have multiple
sessions get muxed into one, sometimes it's really helpful to _not_
use the same session (e.g. if you want to ssh -2fNR).
It'd be quite nice if there were a flag to tell openssh to not mux
the new connection at all - i.e. what "ssh -o ControlPath=none"
does. (The 'obvious' invocation `ssh
2005 Jun 12
2
%h,%p,%u expansion for ControlPath
This allows me to set 'ControlPath ~/.ssh/sockets/%h.%p.%u' for example.
Have I missed a good reason why ssh_connect finds the default port
number for itself instead of just having it in options.port (like we do
for the the default in options.user)?
--- openssh-4.1p1/ssh.c~ 2005-06-12 09:47:18.000000000 +0100
+++ openssh-4.1p1/ssh.c 2005-06-12 09:40:53.000000000 +0100
@@ -604,6 +604,17
2014 Mar 06
2
[RFC] Add hash token to ControlPath
Hi.
Last night on an irc openssh channel, a user brought up a use
case involving cluster trees and very descriptive (i.e. long)
hierarchical hostnames.
To make a long story short, his ControlPath (~/.ssh/control-master
/%r@%h:%p) was bumping up against UNIX_PATH_MAX.
Attached patch adds a new percent-token (%H) that expands to the
sha1 digest of the concatenation of host (%h) + port (%p) +
2012 Apr 09
1
[Bug 1997] New: Add QoS to ControlPath escapes
https://bugzilla.mindrot.org/show_bug.cgi?id=1997
Bug #: 1997
Summary: Add QoS to ControlPath escapes
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo:
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
2005 Mar 31
1
X11 forwarding and session multiplexing
Hi,
A user has noticed that X11 forwarding does not appear to work when using session
multiplexing. It seems that the DISPLAY environment variable is not getting
set in the slave sessions.
Any thought? The ~/.ssh/config ib below.
Host somehost-master
ControlMaster yes
ControlPath ~/.ssh/somehost.sock
HostbasedAuthentication no
HostName somehost
Host somehost-slave
ControlPath
2012 Mar 29
1
percent_expand for QoS in ControlPath
Hi,
Not sure if this anyone else is interested in this but to me it seems to make
sense to use different control session multiplexer sockets for bulk and
interactive workloads.
Index: auth.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/auth.c,v
retrieving revision 1.94
diff -u -p -r1.94 auth.c
--- auth.c 23 May 2011 03:33:38 -0000 1.94
+++
2007 Apr 19
1
Is it possible to add %u for local user to ControlPath's argument in the portable version of OpenSSH?
Hi!
>From man 5 ssh_config
> ControlPath
> Specify the path to the control socket used for connection sharing as described in the
> ControlMaster section above or the string ``none'' to disable connection sharing. In
> the path, `%l' will be substituted by the local host name, `%h' will be substituted by
>
2023 Aug 31
6
[Bug 3610] New: Using ControlPath and the -J option
https://bugzilla.mindrot.org/show_bug.cgi?id=3610
Bug ID: 3610
Summary: Using ControlPath and the -J option
Product: Portable OpenSSH
Version: 8.9p1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
2005 Jul 11
2
Feature suggestion: sftp over ssh client in a single connection
It has always bugged me that if I want to use a shell and perform some
file transfers in a single host I have to take two SSH connections:
one for the shell via ssh(1) and one for the file transfer via
sftp(1). Some graphical SSH clients can perform sftp operations and
ssh shell access in a single connection by using SSH2 protocol's
support for multiple channels.
So I hacked my openssh client
2023 May 12
0
[Bug 3570] New: Add substitution token for explicitly selected IdentityFile for ControlPath selection
https://bugzilla.mindrot.org/show_bug.cgi?id=3570
Bug ID: 3570
Summary: Add substitution token for explicitly selected
IdentityFile for ControlPath selection
Product: Portable OpenSSH
Version: 9.3p1
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
2015 Jul 30
3
[Bug 2437] New: ssh with ControlMaster and ControlPath hangs on 2nd session in same terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2437
Bug ID: 2437
Summary: ssh with ControlMaster and ControlPath hangs on 2nd
session in same terminal
Product: Portable OpenSSH
Version: 6.7p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5