Hi Michael, On Sun, Dec 26, 2010 at 2:46 AM, Michael Albinus wrote: > suvayu ali writes: > >> I don't know since when, but today I noticed tramp is ignoring >> username for remote hosts specified in my ~/.ssh/config >> >> This is with Emacs 24 > > Could you, please, provide a test scenario for reproducing the problem, > starting with "emacs -Q"? > To reproduce this I did the following: 1. emacs -Q 2. turn on debug-on-error and debug-on-quit 3. try to open a remote file like this, `C-x C-f /ssh:remotehost:~/.bash[TAB]' 4. This prompts me for password like this, "Password for /ssh:localuser@remotehost: " I have attached the backtrace I got from the above. (the real remote host and local user have been changed to "remtoehost" and "localuser") In my ~/.ssh/config, the settings for the particular remotehost is like this: Host remotehost HostName remotehost.example.com User remoteuser > Best regards, Michael. > Thanks a lot, -- Suvayu Open source is the future. It sets us free.