[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp ignoring ~/.ssh/config
From: |
suvayu ali |
Subject: |
Re: Tramp ignoring ~/.ssh/config |
Date: |
Sun, 26 Dec 2010 09:14:50 -0800 |
Hi Michael,
On Sun, Dec 26, 2010 at 2:46 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
> suvayu ali <fatkasuvayu+linux@gmail.com> 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.
tramp-bt.log
Description: Text document