Hey, thanks for the quick fix, Michael. I can confirm that it fixes the issue for me. I've checked both cases (no tramp connection with that host/proxy yet and with a connection already open), and both work just fine with your patch applied against today's emacs-git at revision a9dcf6b. Kind regards, mosu