Michael Albinus writes: Hi Kostadin, > Thanks, I can reproduce the problem now. Let's see what analysis yields. The problem happens, when tramp-add-hops is called with a tramp-file-name structure which has not expanded the default user and host names yet, like in "/sudo::". The appended patch should fix it, could you pls check in your environment? Since the change is very basic to Tramp, I'll let run all regression tests for Tramp. This will take 2-3 days. I'll let you know. Best regards, Michael.