Next: , Previous: , Up: TRAMP User Manual   [Contents][Index]

4 Configuring TRAMP

TRAMP is initially configured to use the scp program to connect to the remote host. Just type C-x C-f and then enter file name /scp:user@host:/path/to/file. For details, See Selecting a default method, See Selecting a default user, See Selecting a default host.

For problems related to the behavior of the remote shell, See Remote shell setup hints.

For changing the connection type and file access method from the defaults to one of several other options, See Types of connections to remote hosts.

Note that some user options described in these examples are not auto loaded by Emacs. All examples require TRAMP to be installed and loaded:

(customize-set-variable 'tramp-verbose 6 "Enable remote command traces")

For functions used to configure TRAMP, the following clause may be used in your init file:

(with-eval-after-load 'tramp (tramp-change-syntax 'simplified))

Changing other variables via directory-local variables on a remote directory must be enabled by setting enable-remote-dir-locals to non-nil, See (emacs)Directory Variables.

Next: Using TRAMP, Previous: Short introduction how to use TRAMP, Up: TRAMP User Manual   [Contents][Index]