From: poti@potis.org
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: NTEmacs + plink
Date: Tue, 12 Jun 2007 19:44:31 -0400 [thread overview]
Message-ID: <20070612234431.GA26155@mail.potis.org> (raw)
In-Reply-To: <87bqfleyhe.fsf@gmx.de>
On 21:58 Tue 12 Jun , Michael Albinus wrote:
> poti@potis.org writes:
>
> > I have many difficulties with tramp. I use a non-standard ssh port and
> > have hosts behind firewalls. From Windows something like
> > /ssh:me@my.host.org#3322:/home/me/.emacs or
>
> That shall work, better even with plink.
>
> Passing firewalls depend on how you want to do it. Tramp 2.1 (not part
> of Emacs 22.1) has introduced gateway methods, which are intented for
> HTTP tunnels or socks servers. But you could also configure HTTP tunnels
> directly in PuTTY, I guess.
>
> If it is something else, just tell me the kind of hops you need. We
> could find the corresponding Tramp configuration then.
>
The line you quoted does in fact work from Windows. I did not have
.emacs in that particular directory, causing some confusion.
I have sent what appears to be a tramp specific problem in opening a remote
directory to tramp-devel. Other than that, single hop seems to work.
However, I still cannot figure out multi hop. Using
/multi:plink:me@my.host.org#3322:me@host.org:/home/me/realfile.txt
gets as far as
Tramp: Found remote shell prompt on `plink'
and then hangs emacs hard-- the window does not redraw in Windows and I
must kill the process from task manager.
Adding
(add-to-list 'tramp-default-proxies-alist
'("host\\.org#3322" nil "/plink:me@my.host.org#3322:"))
(with or without the port numbers) to _emacs causes
/plink:me@host.org#3322:/home/me/realfile.txt
to get as far as
Tramp: Opening connection for me@host.org#3322 using plink
before hanging emacs in a similar way (waited more than 6 minutes to
be sure).
One difference is that in this crash, EMACS.EXE is taking 50% of cpu
time, whereas in the previous it was idle and taking about 2K more
memory.
As my network is configured at the moment, the only service available is
ssh. I can exchange keys between my.host.org and host.org, but not from
the lab XP machines to anywhere else.
I have the following in _emacs, and the startup sequence echoes the load
command, so it is being read:
(add-to-list 'load-path "C:/tramp/lisp")
(load "C:/tramp/lisp/tramp.el")
(setq tramp-default-method "plink")
(nconc (cadr (assq 'tramp-login-args (assoc "plink" tramp-methods)))
'(("bash" "-i")))
(setcdr (assq 'tramp-remote-sh (assoc "plink" tramp-methods))
'("bash -i"))
(setq tramp-debug-buffer t)
(setq tramp-verbose 10)
tram-bug reports this:
Emacs : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Package: tramp (2.0.55)
but the files in C:/tramp are 2.1.9
On Gentoo, using a suitably modified equivalent .emacs file, I first get
an error that trampver could not be loaded. In fact, this was not
created until I ran ./configure. Then I got the error
Symbol's value as variable is void: tramp-gw-tunnel-method
this is true on OSX emacs 22.0.52.1 as well as Gentoo x86 Emacs 21.4.1.
make fails on OSX. On another Gentoo machine with Emacs 22.1 and
tramp-2.1.9-r1 installed through the package manager, I have many
many more apparently unrelated problems.
I also tried this with a cross port of tramp to Windows using mingw32
and my x86 Gentoo machine, but still failed in the same way.
next prev parent reply other threads:[~2007-06-12 23:44 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 1:03 NTEmacs + plink gamename
2007-05-17 3:21 ` Eli Zaretskii
2007-06-10 21:44 ` poti
2007-06-10 22:13 ` Eli Zaretskii
2007-06-11 5:46 ` poti
2007-06-12 19:58 ` Michael Albinus
2007-06-12 23:44 ` poti [this message]
2007-06-13 10:50 ` Michael Albinus
2007-06-13 20:39 ` poti
2007-06-13 21:07 ` Michael Albinus
2007-05-17 4:11 ` Eric Hanchrow
[not found] ` <mailman.755.1179372587.32220.help-gnu-emacs@gnu.org>
2007-05-17 17:13 ` gamename
2007-05-17 17:41 ` Lennart Borgman (gmail)
[not found] ` <mailman.779.1179424200.32220.help-gnu-emacs@gnu.org>
2007-05-18 15:09 ` gamename
2007-05-18 15:29 ` gamename
2007-05-18 17:19 ` Eli Zaretskii
2007-05-18 17:46 ` Lennart Borgman (gmail)
[not found] ` <mailman.815.1179510415.32220.help-gnu-emacs@gnu.org>
2007-05-31 4:46 ` Poti Giannakouros
2007-05-31 9:31 ` Jason Rumney
2007-05-31 16:13 ` poti
[not found] ` <mailman.1450.1180628072.32220.help-gnu-emacs@gnu.org>
2007-05-31 20:57 ` Jason Rumney
2007-05-31 6:32 ` Kamen TOMOV
2007-06-06 3:39 ` poti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070612234431.GA26155@mail.potis.org \
--to=poti@potis.org \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).