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 /user@host:/path/to.file. For details,
see See Default Method.
For problems related to the behavior of remote shell, see Remote shell setup for details.
For changing the connection type and file access method from the defaults to one of several other options, see (see Connection types).
Note that some user options and variables described in these examples are not auto loaded by Emacs. All examples require TRAMP is installed and loaded:
(require 'tramp)
• Connection types: | Types of connections to remote hosts. | |
• Inline methods: | Inline methods. | |
• External methods: | External methods. | |
• GVFS based methods: | GVFS based external methods. | |
• Gateway methods: | Gateway methods. | |
• Default Method: | Selecting a default method. Here we also try to help those who don’t have the foggiest which method is right for them. | |
• Default User: | Selecting a default user. | |
• Default Host: | Selecting a default host. | |
• Multi-hops: | Connecting to a remote host using multiple hops. | |
• Customizing Methods: | Using Non-Standard Methods. | |
• Customizing Completion: | Selecting config files for user/host name completion. | |
• Password handling: | Reusing passwords for several connections. | |
• Connection caching: | Reusing connection related information. | |
• Predefined connection information: | Setting own connection related information. | |
• Remote programs: | How TRAMP finds and uses programs on the remote host. | |
• Remote shell setup: | Remote shell setup hints. | |
• Android shell setup: | Android shell setup hints. | |
• Auto-save and Backup: | Auto-save and Backup. | |
• Windows setup hints: | Issues with Cygwin ssh. |