aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2023-03-24 13:30:25 +0100
committerMichael Albinus2023-03-24 13:30:25 +0100
commit08fbc133756be38c02f04f64dbe0e2c9c1d0f228 (patch)
tree31fb1d94a24830b9517d3d694d516fc591e69d68 /doc/misc
parentaccb3871668201a1d7b9c54713b94b814c879271 (diff)
downloademacs-08fbc133756be38c02f04f64dbe0e2c9c1d0f228.tar.gz
emacs-08fbc133756be38c02f04f64dbe0e2c9c1d0f228.zip
Adapt Tramp manual
* doc/misc/tramp.texi (Default Method): OpenSSH for MS Windows can be used. (Ssh setup): Extend for MS Windows and ssh.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi30
1 files changed, 21 insertions, 9 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index cbd8d202650..468bdfdbcba 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1493,8 +1493,10 @@ access and it has the most reasonable security protocols, use
1493@end example 1493@end example
1494 1494
1495If @option{ssh} is unavailable for whatever reason, look for other 1495If @option{ssh} is unavailable for whatever reason, look for other
1496obvious options. For MS Windows, try the @option{plink} method. For 1496obvious options. For MS Windows, try the @option{plink}
1497Kerberos, try @option{krlogin}. 1497method@footnote{This shouldn't be needed with recent @code{OpenSSH}
1498versions for MS Windows. Use method @option{sshx}.}. For Kerberos,
1499try @option{krlogin}.
1498 1500
1499For editing local files as @option{su} or @option{sudo} methods, try 1501For editing local files as @option{su} or @option{sudo} methods, try
1500the shortened syntax of @samp{root}: 1502the shortened syntax of @samp{root}:
@@ -2837,11 +2839,19 @@ When @value{tramp} uses direct remote copying, password caches are not
2837consulted. 2839consulted.
2838 2840
2839 2841
2840@subsection Issues with Cygwin ssh 2842@subsection Issues with Cygwin and MS Windows ssh
2841@cindex cygwin, issues 2843@cindex cygwin, issues
2844@cindex ms Windows, issues
2842 2845
2843This section is incomplete. Please share your solutions. 2846This section is incomplete. Please share your solutions.
2844 2847
2848@cindex ms windows and @command{ssh}
2849@cindex ms windows and @command{ssh-agent}
2850
2851MS Windows' @command{ssh} does not open a remote TTY@. Use the method
2852@option{sshx} or @option{scpx} instead. Furthermore, it cannot read a
2853passphrase for ssh private keys. Use the MS @code{ssh-agent}.
2854
2845@cindex method @option{sshx} with cygwin 2855@cindex method @option{sshx} with cygwin
2846@cindex @option{sshx} method with cygwin 2856@cindex @option{sshx} method with cygwin
2847 2857
@@ -2881,13 +2891,15 @@ Windows file names to Cygwin file names.
2881@cindex @env{SSH_AUTH_SOCK} and emacs on ms windows 2891@cindex @env{SSH_AUTH_SOCK} and emacs on ms windows
2882@vindex SSH_AUTH_SOCK@r{, environment variable} 2892@vindex SSH_AUTH_SOCK@r{, environment variable}
2883 2893
2884When using the @command{ssh-agent} on MS Windows for password-less 2894When using the cygwin @command{ssh-agent} on MS Windows for
2885interaction, @option{ssh} methods depend on the environment variable 2895password-less interaction, @option{ssh} methods depend on the
2886@env{SSH_AUTH_SOCK}. But this variable is not set when Emacs is 2896environment variable @env{SSH_AUTH_SOCK}. But this variable is not
2887started from a Desktop shortcut and authentication fails. 2897set when Emacs is started from a Desktop shortcut and authentication
2898fails.
2888 2899
2889One workaround is to use an MS Windows based SSH Agent, such as 2900One workaround is to use an MS Windows based SSH Agent, such as the
2890@command{Pageant}. It is part of the PuTTY Suite of tools. 2901native MS @command{ssh-agent} or @command{Pageant}. The latter is
2902part of the PuTTY Suite of tools.
2891 2903
2892The fallback is to start Emacs from a shell. 2904The fallback is to start Emacs from a shell.
2893 2905