diff options
| author | Michael Albinus | 2023-03-24 13:30:25 +0100 |
|---|---|---|
| committer | Michael Albinus | 2023-03-24 13:30:25 +0100 |
| commit | 08fbc133756be38c02f04f64dbe0e2c9c1d0f228 (patch) | |
| tree | 31fb1d94a24830b9517d3d694d516fc591e69d68 /doc/misc | |
| parent | accb3871668201a1d7b9c54713b94b814c879271 (diff) | |
| download | emacs-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.texi | 30 |
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 | ||
| 1495 | If @option{ssh} is unavailable for whatever reason, look for other | 1495 | If @option{ssh} is unavailable for whatever reason, look for other |
| 1496 | obvious options. For MS Windows, try the @option{plink} method. For | 1496 | obvious options. For MS Windows, try the @option{plink} |
| 1497 | Kerberos, try @option{krlogin}. | 1497 | method@footnote{This shouldn't be needed with recent @code{OpenSSH} |
| 1498 | versions for MS Windows. Use method @option{sshx}.}. For Kerberos, | ||
| 1499 | try @option{krlogin}. | ||
| 1498 | 1500 | ||
| 1499 | For editing local files as @option{su} or @option{sudo} methods, try | 1501 | For editing local files as @option{su} or @option{sudo} methods, try |
| 1500 | the shortened syntax of @samp{root}: | 1502 | the shortened syntax of @samp{root}: |
| @@ -2837,11 +2839,19 @@ When @value{tramp} uses direct remote copying, password caches are not | |||
| 2837 | consulted. | 2839 | consulted. |
| 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 | ||
| 2843 | This section is incomplete. Please share your solutions. | 2846 | This 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 | |||
| 2851 | MS Windows' @command{ssh} does not open a remote TTY@. Use the method | ||
| 2852 | @option{sshx} or @option{scpx} instead. Furthermore, it cannot read a | ||
| 2853 | passphrase 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 | ||
| 2884 | When using the @command{ssh-agent} on MS Windows for password-less | 2894 | When using the cygwin @command{ssh-agent} on MS Windows for |
| 2885 | interaction, @option{ssh} methods depend on the environment variable | 2895 | password-less interaction, @option{ssh} methods depend on the |
| 2886 | @env{SSH_AUTH_SOCK}. But this variable is not set when Emacs is | 2896 | environment variable @env{SSH_AUTH_SOCK}. But this variable is not |
| 2887 | started from a Desktop shortcut and authentication fails. | 2897 | set when Emacs is started from a Desktop shortcut and authentication |
| 2898 | fails. | ||
| 2888 | 2899 | ||
| 2889 | One workaround is to use an MS Windows based SSH Agent, such as | 2900 | One 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. | 2901 | native MS @command{ssh-agent} or @command{Pageant}. The latter is |
| 2902 | part of the PuTTY Suite of tools. | ||
| 2891 | 2903 | ||
| 2892 | The fallback is to start Emacs from a shell. | 2904 | The fallback is to start Emacs from a shell. |
| 2893 | 2905 | ||