tramp-local-host-regexp

tramp-local-host-regexp is a variable defined in `tramp.el'.
Its value is

"\\`\\(127\\.0\\.0\\.1\\|::1\\|Gandalf-Linux\\|localhost6?\\)\\'"

  • This variable may be risky if used as a file-local variable.

Documentation:
Host names which are regarded as local host.