Michael Albinus writes: Hi, > (tramp-dissect-file-name "/ssh:[2001::abcd]#2202:/tmp/xxx") > => (tramp-file-name "ssh" nil nil "2001::abcd#2202" nil "/tmp/xxx" nil) > > That is a structure, which has "2001::abcd#2202" as host name. Ouch. > > Will see how I could fix it. Could you please try the appended patch? It ought to fix the problem. Best regards, Michael.