default value for an empty local file name part is the remote user's
home directory. The shortest remote file name is thus
@file{@trampfn{-,,}}. The @samp{-} notation for the default method is
-used for syntactical reasons, @ref{Default Method}.
+used for syntactical reasons, @pxref{Default Method}.
The @code{method} part describes the connection method used to reach
the remote host, see below.
The @code{host} part must be a host name which can be resolved on
your local host. It could be a short host name, a fully qualified
-domain name, an IPv4 or IPv6 address, @ref{File name syntax}. Some
+domain name, an IPv4 or IPv6 address, @pxref{File name syntax}. Some
connection methods also support a notation for the port to be used, in
which case it is written as @code{host#port}.
usability of one of the commands defined in
@code{tramp-remote-coding-commands}. @value{tramp} uses the first
reliable command it finds. @value{tramp}'s search path can be
-customized, see @ref{Remote programs}.
+customized, @pxref{Remote programs}.
In case none of the commands are available, @value{tramp} first
transfers a small Perl program to the remote host, and then tries to
workarounds for its many idiosyncrasies, with the exception that
multi-hops are unsupported.
-This is an optional method, @ref{Optional methods}. It is enabled by
+This is an optional method, @pxref{Optional methods}. It is enabled by
default on @code{android} systems only.
@item @option{sudo}
@command{sudo} must have sufficient rights to start a shell.
For security reasons, a @option{sudo} connection is disabled after a
-predefined timeout (5 minutes by default). This can be changed, see
-@ref{Predefined connection information}.
+predefined timeout (5 minutes by default). This can be changed,
+@pxref{Predefined connection information}.
@item @option{doas}
@cindex method @option{doas}
uses the @code{systemd-run} command. A @option{run0} connection is
disabled after a predefined timeout as well.
-This is an optional method, @ref{Optional methods}.
+This is an optional method, @pxref{Optional methods}.
@item @option{sg}
@cindex method @option{sg}
This method is also similar to @option{ssh}. It uses the
@command{krlogin -x} command only for remote host login.
-This method is an optional method, @ref{Optional methods}.
+This method is an optional method, @pxref{Optional methods}.
@item @option{ksu}
@cindex method @option{ksu}
@cindex kerberos (with @option{ksu} method)
This is another method from the Kerberos suite. It behaves like
-@option{su}. It is an optional method, @ref{Optional methods}.
+@option{su}. It is an optional method, @pxref{Optional methods}.
@item @option{plink}
@cindex method @option{plink}
Without a host name, the default Toolbox container for the host will
be used.
-This is an optional method, @ref{Optional methods}. It does not
+This is an optional method, @pxref{Optional methods}. It does not
support user names.
@item @option{flatpak}
application ID, a sandbox instance ID, or a PID, as returned by
@samp{flatpak ps}.
-This is an optional method, @ref{Optional methods}. It does not
+This is an optional method, @pxref{Optional methods}. It does not
support user names.
@item @option{apptainer}
Integration of Apptainer instances. The host name is the instance
name, as returned by @samp{apptainer instance list}.
-This is an optional method, @ref{Optional methods}. It does not
+This is an optional method, @pxref{Optional methods}. It does not
support user names.
@item @option{nspawn}
Integration of @code{systemd-nspawn} instances. The host name is the
instance name, as returned by @samp{machinectl list --all}.
-This is an optional method, @ref{Optional methods}.
+This is an optional method, @pxref{Optional methods}.
@end table
not useful for @value{tramp}. @command{fsh} connects to remote host
and @value{tramp} keeps that one connection open.
-This is an optional method, @ref{Optional methods}.
+This is an optional method, @pxref{Optional methods}.
@item @option{nc}
@cindex method @option{nc}
such as the @command{busybox} and do not host any other encode or
decode programs.
-This is an optional method, @ref{Optional methods}.
+This is an optional method, @pxref{Optional methods}.
@item @option{sudoedit}
@cindex method @option{sudoedit}
the @option{mtp} method. Just the device name is needed in order to
specify the host in the file name. However, the device must already
be connected via USB, before accessing it. Possible device names are
-visible via host name completion, @ref{File name completion}.
+visible via host name completion, @pxref{File name completion}.
Depending on the device type, the access could be read-only. Some
devices are accessible under different names in parallel, offering
@cindex default method
In a remote file name, the use of a default method is indicated by the
-pseudo method @option{-}, @ref{File name syntax}.
+pseudo method @option{-}, @pxref{File name syntax}.
@defopt tramp-default-method
Default method is for transferring files. The user option
By default, @value{tramp} uses the command @command{/bin/sh} for
starting a shell on the remote host. This can be changed by setting
-the connection property @t{"remote-shell"}; see @ref{Predefined
+the connection property @t{"remote-shell"}; @pxref{Predefined
connection information}. If you want, for example, use
@command{/usr/bin/zsh} on a remote host, you might apply
yet, @value{tramp} creates this directory.
The mount point can be overwritten by the connection property
-@t{"mount-point"}, @ref{Predefined connection information}.
+@t{"mount-point"}, @pxref{Predefined connection information}.
Example:
@lisp
The command @command{encfsctl}, the workhorse for encryption /
decryption, needs the configuration file password every call.
Therefore, it is recommend to cache this password in Emacs. This can
-be done using @code{auth-sources}, @ref{Using an authentication file}.
+be done using @code{auth-sources}, @pxref{Using an authentication file}.
An entry needs the url-encoded directory name as machine, your local
user name as user, and the password. The port is optional, if given
it must be the string @t{"crypt"}. The example above would require
@code{start-file-process}. Furthermore, you might set
@code{tramp-use-connection-share} to @code{nil} in order to bypass
@value{tramp}'s handling of the @option{ControlMaster} options, and
-use your own settings in @file{~/.ssh/config}, @ref{Using ssh
+use your own settings in @file{~/.ssh/config}, @pxref{Using ssh
connection sharing}.
@value{tramp} offers also transparent access to files inside file
archives. This is possible only on hosts which have installed
-@acronym{GVFS, the GNOME Virtual File System}, @ref{GVFS-based
+@acronym{GVFS, the GNOME Virtual File System}, @pxref{GVFS-based
methods}. Internally, file archives are mounted via the
@acronym{GVFS} @option{archive} method.
detours.
To exclude cache-related problems, flush all caches before running the
-test, @ref{Cleanup remote connections}. Alternatively, and often
+test, @pxref{Cleanup remote connections}. Alternatively, and often
better for analysis, reproduce the problem in a clean Emacs session
started with @command{emacs -Q}. Then, @value{tramp} does not load
the persistency file (@pxref{Connection caching}), and it does not use
@vindex remote-file-name-inhibit-delete-by-moving-to-trash
Emacs can trash files instead of deleting
@ifinfo
-them, @ref{Misc File Ops, Trashing , , emacs}.
+them, @pxref{Misc File Ops, Trashing , , emacs}.
@end ifinfo
@ifnotinfo
them.
@end lisp
This improves performance, because many primitive file name operations
-don't check any longer for Tramp file name regexps then.
+don't check any longer for @value{tramp} file name regexps then.
@item
@findex tramp-unload-tramp