* Tramp ignoring ~/.ssh/config
@ 2010-12-25 23:18 suvayu ali
2010-12-26 10:46 ` Michael Albinus
0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-12-25 23:18 UTC (permalink / raw)
To: Emacs mailing list
Hi,
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
commit d1421152f8a535e3ce158982a27d3beeb87608cd
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Fri Dec 24 10:25:18 2010 +0100
Fix indentation
Any ideas?
PS: Emacs 23 works fine.
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tramp ignoring ~/.ssh/config
2010-12-25 23:18 Tramp ignoring ~/.ssh/config suvayu ali
@ 2010-12-26 10:46 ` Michael Albinus
2010-12-26 17:14 ` suvayu ali
0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2010-12-26 10:46 UTC (permalink / raw)
To: suvayu ali; +Cc: Emacs mailing list
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> Hi,
Hi,
> 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"?
Best regards, Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tramp ignoring ~/.ssh/config
2010-12-26 10:46 ` Michael Albinus
@ 2010-12-26 17:14 ` suvayu ali
2010-12-27 11:00 ` Michael Albinus
0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-12-26 17:14 UTC (permalink / raw)
To: Michael Albinus; +Cc: Emacs mailing list
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
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.
[-- Attachment #2: tramp-bt.log --]
[-- Type: text/plain, Size: 4046 bytes --]
Debugger entered--Lisp error: (quit)
signal(quit nil)
byte-code("\306\x18 \307\310\311\nC\v\"C^[\x1c\x1d\x1e\r\306\312\313\217\210-\314\x0e\x0e@\x0e\x0eA\"\207" [tramp-message-show-message v operation args fmt-string level nil 1 "Interrupt received in operation %s" append (byte-code "\b X\205}\0\306 \x1a\307\216\v\203;\0\b\310X\203;\0\311\312\b\313U\203!\0\314\2026\0\b\315U\203+\0\314\2026\0\b\316U\2035\0\317\2026\0\320\fP\r#\210 \321Y\205|\0\x0e\x1a\203d\0\322\x0e\x1a!\203d\0\323\324\x0e\x1a!!\203d\0r\324\x0e\x1a!q\210\325\x0e^[!\x16\x1a)\x0e\x1a\205|\0\326\x0e\x1a!\205|\0\311\327\x0e\x1a\330\331\b\"\fP\r$*\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 "" 1 2 "Warning: " "Tramp: " 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format "(%d) # " vec-or-proc default-directory] 6) ((error)) signal vec-or-proc err] 6)
tramp-file-name-handler(file-name-completion ".bas" "/ssh:remotehost:~/" file-exists-p)
file-name-completion(".bas" "/ssh:remotehost:~/" file-exists-p)
byte-code("\b\242\306=\203&\0\307 !G\310\bA\311\x1a\x19^[\312\x1c\313\v \n#,\x1d\x1a\306\n G^\r*BB\207\b\314=\203=\0\315 G!?\205\320\0\x0e\x16\206:\0\316 !\207\317 !\x1e\x17\307 !\211\x1e\x18\206M\0\x0e\x19\x1e\x1a\b\204p\0\320\x0e\x17\x0e\x1a\x0e\x16#\211\x1e^[;\203j\0\x0e\x18\x0e^[P\202l\0\x0e^[)\202\317\0\b\312=\205\317\0\321\x0e\x17\x0e\x1a\"\x1e\x1c\x0e\x16\322>\204\314\0\311\x0e\x16\323=\203\221\0\324\202\223\0\x0e\x16\x1e\x16\x1e^[\325\x0e\x1a!\x1e\x19\x0e\x1c\311\x1e\x1d\211\x1e\x1e\203\305\0\x0e\x1e@\x16\x1d\x0e\x16\x0e\x1d!\203\274\0\x0e\x1d\x0e^[B\x16^[\x0e\x1eA\211\x16\x1e\204\250\0+\x0e^[\237\x16\x1c*\x0e\x1c)+\207" [action string start regexp inhibit-changing-match-data end boundaries file-name-directory "/" nil t string-match lambda zerop file-exists-p file-name-nondirectory file-name-completion file-name-all-completions (nil file-exists-p) file-directory-p #[(s) "\bG\211\x19\302V\205\x0f\0\b SH\303=)\207" [s len 0 47] 3] expand-file-name pred name specdir default-directory realdir comp all tem --cl-dolist-temp--] 6)
completion-file-name-table("/ssh:remotehost:~/.bas" file-exists-p nil)
completion--file-name-table("/ssh:remotehost:~/.bas" file-exists-p nil)
complete-with-action(nil completion--file-name-table "/ssh:remotehost:~/.bas" file-exists-p)
#[(table) "\304\b \n\v$\207" [action table string pred complete-with-action] 5](completion--file-name-table)
byte-code("\b \211A\x11@!\x12\303\207" [fun xs --cl-res-- nil] 3)
completion--some(#[(table) "\304\b \n\v$\207" [action table string pred complete-with-action] 5] (completion--embedded-envvar-table completion--file-name-table))
#[(G38909 string pred action) "\301\302\bJ\"\207" [G38909 completion--some #[(table) "\304\b \n\v$\207" [action table string pred complete-with-action] 5]] 3](--tables-- "/ssh:remotehost:~/.bas" file-exists-p nil)
apply(#[(G38909 string pred action) "\301\302\bJ\"\207" [G38909 completion--some #[(table) "\304\b \n\v$\207" [action table string pred complete-with-action] 5]] 3] --tables-- ("/ssh:remotehost:~/.bas" file-exists-p nil))
read-file-name-internal("/ssh:remotehost:~/.bas" file-exists-p nil)
try-completion("/ssh:remotehost:~/.bas" read-file-name-internal file-exists-p)
completion-basic-try-completion("/ssh:remotehost:~/.bas" read-file-name-internal file-exists-p 19)
#[(style) "\b \236A@\n\v\f\r$\207" [style completion-styles-alist string table pred point] 5](basic)
byte-code("\b \211A\x11@!\x12\303\207" [fun xs --cl-res-- nil] 3)
completion--some(#[(style) "\b \236A@\n\v\f\r$\207" [style completion-styles-alist string table pred point] 5] (basic partial-completion emacs22))
completion-try-completion("/ssh:remotehost:~/.bas" read-file-name-internal file-exists-p 19)
completion--do-completion()
minibuffer-complete()
call-interactively(minibuffer-complete nil nil)
completing-read("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/")
read-file-name("Find file: " nil "~/" confirm-after-completion)
find-file-read-args("Find file: " confirm-after-completion)
byte-code("\300\301\302 \"\207" [find-file-read-args "Find file: " confirm-nonexistent-file-or-buffer] 3)
call-interactively(find-file nil nil)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tramp ignoring ~/.ssh/config
2010-12-26 17:14 ` suvayu ali
@ 2010-12-27 11:00 ` Michael Albinus
2010-12-27 14:15 ` suvayu ali
0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2010-12-27 11:00 UTC (permalink / raw)
To: suvayu ali; +Cc: Emacs mailing list
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> Hi Michael,
Hi,
> 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: "
Indeed. I've reverted this change in the trunk.
> Thanks a lot,
Thanks for reporting, and best regards, Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tramp ignoring ~/.ssh/config
2010-12-27 11:00 ` Michael Albinus
@ 2010-12-27 14:15 ` suvayu ali
0 siblings, 0 replies; 5+ messages in thread
From: suvayu ali @ 2010-12-27 14:15 UTC (permalink / raw)
To: Michael Albinus; +Cc: Emacs mailing list
On Mon, Dec 27, 2010 at 3:00 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>> 4. This prompts me for password like this,
>> "Password for /ssh:localuser@remotehost: "
>
> Indeed. I've reverted this change in the trunk.
>
>> Thanks a lot,
>
> Thanks for reporting, and best regards, Michael.
Thanks a lot Michael. :)
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-27 14:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-25 23:18 Tramp ignoring ~/.ssh/config suvayu ali
2010-12-26 10:46 ` Michael Albinus
2010-12-26 17:14 ` suvayu ali
2010-12-27 11:00 ` Michael Albinus
2010-12-27 14:15 ` suvayu ali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.