tramp: Predefined connection information

 
 4.14 Setting own connection related information
 ===============================================
 
 For more precise customization, parameters specified by ‘tramp-methods’
 can be overwritten manually.
 
    Set ‘tramp-connection-properties’ to manually override
 ‘tramp-methods’.  Properties in this list are in the form ‘(REGEXP
 PROPERTY VALUE)’.  REGEXP matches remote file names.  Use ‘nil’ to match
 all.  PROPERTY is the property’s name, and VALUE is the property’s
 value.
 
    PROPERTY is any method specific parameter contained in
 ‘tramp-methods’.  The parameter key in ‘tramp-methods’ is a symbol name
 ‘tramp-<foo>’.  To overwrite that property, use the string ‘<foo>’ for
 PROPERTY.  For example, this changes the remote shell:
 
      (add-to-list 'tramp-connection-properties
                   (list (regexp-quote "/ssh:user@randomhost.your.domain:")
                         "remote-shell" "/bin/ksh"))
      (add-to-list 'tramp-connection-properties
                   (list (regexp-quote "/ssh:user@randomhost.your.domain:")
                         "remote-shell-login" '("-")))
 
    The parameters ‘tramp-remote-shell’ and ‘tramp-remote-shell-login’ in
 ‘tramp-methods’ now have new values for the remote host.
 
    PROPERTY could also be any property found in
 ‘tramp-persistency-file-name’.
 
    To get around how restricted shells randomly drop connections, set
 the special property ‘busybox’.  For example:
 
      (add-to-list 'tramp-connection-properties
                   (list (regexp-quote "/ssh:user@randomhost.your.domain:")
                         "busybox" t))