Variable: tramp-completion-function-alist-ssh

tramp-completion-function-alist-ssh is a variable defined in tramp-sh.el.gz.

Value

((tramp-parse-rhosts "/etc/hosts.equiv")
 (tramp-parse-rhosts "/etc/shosts.equiv")
 (tramp-parse-shosts "/etc/ssh/ssh_known_hosts")
 (tramp-parse-sconfig "/etc/ssh/ssh_config")
 (tramp-parse-shostkeys "/etc/ssh2/hostkeys")
 (tramp-parse-sknownhosts "/etc/ssh2/knownhosts")
 (tramp-parse-rhosts "~/.rhosts")
 (tramp-parse-rhosts "~/.shosts")
 (tramp-parse-shosts "/root/.ssh/known_hosts")
 (tramp-parse-sconfig "/root/.ssh/config")
 (tramp-parse-shostkeys "~/.ssh2/hostkeys")
 (tramp-parse-sknownhosts "~/.ssh2/knownhosts"))

Documentation

Default list of (FUNCTION FILE) pairs to be examined for ssh methods.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;;;###tramp-autoload
(defconst tramp-completion-function-alist-ssh
  `((tramp-parse-rhosts      "/etc/hosts.equiv")
    (tramp-parse-rhosts      "/etc/shosts.equiv")
    ;; On W32 systems, the ssh directory is located somewhere else.
    (tramp-parse-shosts      ,(expand-file-name
			       "ssh/ssh_known_hosts"
			       (or (and (eq system-type 'windows-nt)
					(getenv "ProgramData"))
				   "/etc/")))
    (tramp-parse-sconfig     ,(expand-file-name
			       "ssh/ssh_config"
			       (or (and (eq system-type 'windows-nt)
					(getenv "ProgramData"))
				   "/etc/")))
    (tramp-parse-shostkeys   "/etc/ssh2/hostkeys")
    (tramp-parse-sknownhosts "/etc/ssh2/knownhosts")
    (tramp-parse-rhosts      "~/.rhosts")
    (tramp-parse-rhosts      "~/.shosts")
    ;; On W32 systems, the .ssh directory is located somewhere else.
    (tramp-parse-shosts      ,(expand-file-name
			       ".ssh/known_hosts"
			       (or (and (eq system-type 'windows-nt)
					(getenv "USERPROFILE"))
				   "~/")))
    (tramp-parse-sconfig     ,(expand-file-name
			       ".ssh/config"
			       (or (and (eq system-type 'windows-nt)
					(getenv "USERPROFILE"))
				   "~/")))
    (tramp-parse-shostkeys   "~/.ssh2/hostkeys")
    (tramp-parse-sknownhosts "~/.ssh2/knownhosts"))
  "Default list of (FUNCTION FILE) pairs to be examined for ssh methods.")