Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
a7bef505
Commit
a7bef505
authored
Apr 16, 2013
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tramp.texi (Frequently Asked Questions): Precise, how to define
an own ControlPath.
parent
cabdbff0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
doc/misc/ChangeLog
doc/misc/ChangeLog
+5
-0
doc/misc/tramp.texi
doc/misc/tramp.texi
+13
-5
No files found.
doc/misc/ChangeLog
View file @
a7bef505
2013-04-16 Michael Albinus <michael.albinus@gmx.de>
* tramp.texi (Frequently Asked Questions): Precise, how to define
an own ControlPath.
2013-04-15 Michael Albinus <michael.albinus@gmx.de>
* tramp.texi (Frequently Asked Questions): New item for
...
...
doc/misc/tramp.texi
View file @
a7bef505
...
...
@@ -3139,19 +3139,27 @@ already an @command{ssh} connection to that host. Further
process on that host, will reuse that initial @command
{
ssh
}
connection.
If you know that your @code
{
ControlPath
}
settings won't disturb
@value
{
tramp
}
, you could customize the variable
@code
{
tramp
-
ssh
-
controlmaster
-
options
}
like this:
If your @command
{
ssh
}
version supports the @code
{
ControlPersist
}
option, you could customize the variable
@code
{
tramp
-
ssh
-
controlmaster
-
options
}
to use your @code
{
ControlPath
}
,
for example:
@lisp
(
setq tramp
-
ssh
-
controlmaster
-
options
(
concat
"
-
o ControlPath
=/
tmp
/
ssh
-
ControlPath
-
%%r@@%%h:%%p "
"
-
o ControlMaster
=
auto
-
o ControlPersist
=
no
"
))
"
-
o ControlMaster
=
auto
-
o ControlPersist
=
yes
"
))
@end lisp
Note, that "
%r", "%h" and "%p" must be encoded as "%%r", "%%h" and
"
%%p", respectively.
"
%%p", respectively. The entries of @code{ControlPath},
@code
{
ControlMaster
}
and @code
{
ControlPersist
}
can be removed from
this setting, if they are configured properly in your
@file
{
~
/
.ssh
/
config
}
:
@lisp
(
setq tramp
-
ssh
-
controlmaster
-
options ""
)
@end lisp
@item
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment