help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using TRAMP on Windows


From: William Stevenson
Subject: Re: Using TRAMP on Windows
Date: Fri, 11 Mar 2011 12:52:39 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:

> 2011/3/11 Eli Zaretskii <eliz@gnu.org>:
>>> From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
>>> Date: Fri, 11 Mar 2011 11:35:08 +0100
>>> Cc: help-gnu-emacs@gnu.org
>>>
>>> > FWIW, "C-x C-f /plink:USERNAME@SERVER:.emacs RET" works for me (with
>>> > PuTTY's plink and Pageant running).
>>> >
>>>
>>> This works for me as well, but without Pageant. So why doesn't it work
>>> doing it the standard way?
>>
>> Who said it doesn't?  It does for me, if I say
>>
>>   C-x C-f /USERNAME@SERVER:.emacs RET
>>
>> In your example, you didn't use the USERNAME@ part, perhaps that's the
>> reason.
>>
>
> But TRAMP prompts me for the username when I omit it. I enter the
> username and then the password but authentication fails.

I use TRAMP on windows, here's what I have in my .emacs

(require 'tramp)
(setq tramp-auto-save-directory "c:\\tmp")
(setq tramp-default-method "plink")
(setq tramp-default-user "username"
      tramp-default-host "xx.xx.xx.xx")
 (add-to-list  'file-coding-system-alist
               `(,tramp-file-name-regexp . raw-text-unix))


Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]