tramp-completion-function-alist

tramp-completion-function-alist is a variable defined in `tramp.el'.
Its value is shown below.

Documentation:
Alist of methods for remote files.
This is a list of entries of the form (NAME PAIR1 PAIR2 ...).
Each NAME stands for a remote access method. Each PAIR is of the form
(FUNCTION FILE). FUNCTION is responsible to extract user names and host
names from FILE for completion. The following predefined FUNCTIONs exists:

* `tramp-parse-rhosts' for "~/.rhosts" like files,
* `tramp-parse-shosts' for "~/.ssh/known_hosts" like files,
* `tramp-parse-sconfig' for "~/.ssh/config" like files,
* `tramp-parse-shostkeys' for "~/.ssh2/hostkeys/*" like files,
* `tramp-parse-sknownhosts' for "~/.ssh2/knownhosts/*" like files,
* `tramp-parse-hosts' for "/etc/hosts" like files,
* `tramp-parse-passwd' for "/etc/passwd" like files.
* `tramp-parse-netrc' for "~/.netrc" like files.
* `tramp-parse-putty' for PuTTY registered sessions.

FUNCTION can also be a customer defined function. For more details see
the info pages.

Value:

(("fcp" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("psftp" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("pscp" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("plink" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("ksu" (tramp-parse-passwd "/etc/passwd")) ("sudo" (tramp-parse-passwd "/etc/passwd")) ("su" (tramp-parse-passwd "/etc/passwd")) ("nc" (tramp-parse-hosts "/etc/hosts")) ("telnet" (tramp-parse-hosts "/etc/hosts")) ("sshx" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("ssh" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("rsync" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("scpx" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("scp" (tramp-parse-shosts "~/.ssh/known_hosts") (tramp-parse-sconfig "~/.ssh/config")) ("adb" (tramp-adb-parse-device-names "")))