* ipv6 and Tramp.
@ 2008-11-19 22:32 Óscar Fuentes
2009-01-03 15:46 ` Michael Albinus
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2008-11-19 22:32 UTC (permalink / raw
To: help-gnu-emacs
I'm trying to access a host through ipv6 with Tramp.
Which is the syntax? This complains about "Not a Tramp filename"
/[some:ip:v6:address:for:tramp]:/
I'm using Emacs 23.0.60.1 built 2008-09-27 on Windows XP.
--
Oscar
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
[not found] <mailman.782.1227133957.26697.help-gnu-emacs@gnu.org>
@ 2008-11-20 7:05 ` Michael Albinus
0 siblings, 0 replies; 10+ messages in thread
From: Michael Albinus @ 2008-11-20 7:05 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
> I'm trying to access a host through ipv6 with Tramp.
IPv6 address syntax is not supported in Tramp [yet]. I'll add it to
the todo list.
> Which is the syntax? This complains about "Not a Tramp filename"
>
> /[some:ip:v6:address:for:tramp]:/
Using IPv6 addresses literally would be a nightmare, because ":" is
already taken as delimeter. Maybe your proposal (surround it by "["
and "]") is a good compromise.
Best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2008-11-19 22:32 ipv6 and Tramp Óscar Fuentes
@ 2009-01-03 15:46 ` Michael Albinus
[not found] ` <m3skny3ex7.fsf@telefonica.net>
0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2009-01-03 15:46 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
> I'm trying to access a host through ipv6 with Tramp.
>
> Which is the syntax? This complains about "Not a Tramp filename"
>
> /[some:ip:v6:address:for:tramp]:/
I've added the code to tramp.el today.
> I'm using Emacs 23.0.60.1 built 2008-09-27 on Windows XP.
With your next refresh of Emacs 23, it shall work. I haven't tested it
on Windows XP (I don't run it); maybe you can report whether it's OK.
Best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
[not found] ` <m3skny3ex7.fsf@telefonica.net>
@ 2009-01-05 4:33 ` Michael Albinus
2009-01-05 5:03 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2009-01-05 4:33 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
[keeping help-gnu-emacs@gnu.org in Cc, for the archives]
> Michael,
Hi Óscar,
> I was unable to use Tramp for connecting to a OS/X ssh server via ipv6
> on Windows with plink. This is the output on the *Messages* buffer:
>
> Tramp: Opening connection for ofv@x:x:x:x:x:x:x:x using plink...
> Tramp: Waiting 60s for local shell to come up...
> Tramp: Sending command `plink x:x:x:x:x:x:x:x -l ofv -ssh && exit || exit'
> Tramp: Waiting for prompts from remote shell
> File error: Process died
> completion--some: Process died
What happens, if you call "plink x:x:x:x:x:x:x:x -l ofv -ssh" in a
command window? Maybe there are problems in general with IPv6 addresses,
if you are on a w32 machine?
> On my experience, Tramp on Windows is quite slow a problematic, so I'll
> use a Linux machine next time.
Yes, please do.
> Thanks for for your great work on Tramp.
>
> Best regards,
Best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 4:33 ` Michael Albinus
@ 2009-01-05 5:03 ` Óscar Fuentes
2009-01-05 14:33 ` Michael Albinus
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2009-01-05 5:03 UTC (permalink / raw
To: help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
>> I was unable to use Tramp for connecting to a OS/X ssh server via ipv6
>> on Windows with plink. This is the output on the *Messages* buffer:
>>
>> Tramp: Opening connection for ofv@x:x:x:x:x:x:x:x using plink...
>> Tramp: Waiting 60s for local shell to come up...
>> Tramp: Sending command `plink x:x:x:x:x:x:x:x -l ofv -ssh && exit || exit'
>> Tramp: Waiting for prompts from remote shell
>> File error: Process died
>> completion--some: Process died
>
> What happens, if you call "plink x:x:x:x:x:x:x:x -l ofv -ssh" in a
> command window? Maybe there are problems in general with IPv6 addresses,
> if you are on a w32 machine?
FATAL ERROR: Network error: Connection timed out
putty.exe with the same arguments connects just fine.
--
Oscar
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 5:03 ` Óscar Fuentes
@ 2009-01-05 14:33 ` Michael Albinus
2009-01-05 15:29 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2009-01-05 14:33 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
>> What happens, if you call "plink x:x:x:x:x:x:x:x -l ofv -ssh" in a
>> command window? Maybe there are problems in general with IPv6 addresses,
>> if you are on a w32 machine?
>
> FATAL ERROR: Network error: Connection timed out
I've just checked the manual pages of plink. There is an option to force
IPv6 addresses.
Does "plink x:x:x:x:x:x:x:x -l ofv -ssh -6" work for you?
> putty.exe with the same arguments connects just fine.
Do you have a PuTTY profile for address x:x:x:x:x:x:x:x?
Best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 14:33 ` Michael Albinus
@ 2009-01-05 15:29 ` Óscar Fuentes
2009-01-05 16:06 ` Michael Albinus
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2009-01-05 15:29 UTC (permalink / raw
To: help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>>> What happens, if you call "plink x:x:x:x:x:x:x:x -l ofv -ssh" in a
>>> command window? Maybe there are problems in general with IPv6 addresses,
>>> if you are on a w32 machine?
>>
>> FATAL ERROR: Network error: Connection timed out
>
> I've just checked the manual pages of plink. There is an option to force
> IPv6 addresses.
>
> Does "plink x:x:x:x:x:x:x:x -l ofv -ssh -6" work for you?
No, same error. putty.exe autodetects the address type, it does not
require -6.
>> putty.exe with the same arguments connects just fine.
>
> Do you have a PuTTY profile for address x:x:x:x:x:x:x:x?
Yes. The connection fails no matter if pageant is running or not.
This seems a buggy plink.exe. I'm using the latest release (0.60).
Regards,
--
Oscar
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 15:29 ` Óscar Fuentes
@ 2009-01-05 16:06 ` Michael Albinus
2009-01-05 18:20 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2009-01-05 16:06 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
>> Do you have a PuTTY profile for address x:x:x:x:x:x:x:x?
>
> Yes. The connection fails no matter if pageant is running or not.
>
> This seems a buggy plink.exe. I'm using the latest release (0.60).
plink can also handle PuTTY profiles. This is implemented in Tramp as
method "plinkx".
Does it work, if you open in Emacs "C-x C-f /plinkx:profilename:" ?
> Regards,
Best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 16:06 ` Michael Albinus
@ 2009-01-05 18:20 ` Óscar Fuentes
2009-01-05 18:45 ` Michael Albinus
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2009-01-05 18:20 UTC (permalink / raw
To: help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
>>> Do you have a PuTTY profile for address x:x:x:x:x:x:x:x?
>>
>> Yes. The connection fails no matter if pageant is running or not.
>>
>> This seems a buggy plink.exe. I'm using the latest release (0.60).
>
> plink can also handle PuTTY profiles. This is implemented in Tramp as
> method "plinkx".
I guess that you mean "saved sessions" here. There is no mention to
"profiles" on the putty help file.
> Does it work, if you open in Emacs "C-x C-f /plinkx:profilename:" ?
Nope.
C-x C-f /plinkx:osx: ENTER
Tramp: Opening connection for osx using plinkx...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `plink -load osx -t env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh && exit || exit'
Tramp: Waiting for prompts from remote shell
File error: Process died
completion--some: Process died
--
Oscar
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ipv6 and Tramp.
2009-01-05 18:20 ` Óscar Fuentes
@ 2009-01-05 18:45 ` Michael Albinus
0 siblings, 0 replies; 10+ messages in thread
From: Michael Albinus @ 2009-01-05 18:45 UTC (permalink / raw
To: Óscar Fuentes; +Cc: help-gnu-emacs
Óscar Fuentes <ofv@wanadoo.es> writes:
>> plink can also handle PuTTY profiles. This is implemented in Tramp as
>> method "plinkx".
>
> I guess that you mean "saved sessions" here. There is no mention to
> "profiles" on the putty help file.
Yes, likely I do mean this :-)
>> Does it work, if you open in Emacs "C-x C-f /plinkx:profilename:" ?
>
> Nope.
>
> C-x C-f /plinkx:osx: ENTER
>
> Tramp: Opening connection for osx using plinkx...
> Tramp: Waiting 60s for local shell to come up...
> Tramp: Sending command `plink -load osx -t env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh && exit || exit'
> Tramp: Waiting for prompts from remote shell
> File error: Process died
> completion--some: Process died
But it works when opening PuTTY, you say.
Well, we need more traces. Could you, please, set tramp-verbose to at
least 6? Then rerun the test, and maybe we see more interesting
information in the traces. Please show the corresponding buffer "*debug
tramp/plinkx osx*".
Just for curiosity: Does Tramp/plink connection work for you to other
hosts, which are not addressed via IPv6?
Thanks in advance, and best regards, Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-01-05 18:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 22:32 ipv6 and Tramp Óscar Fuentes
2009-01-03 15:46 ` Michael Albinus
[not found] ` <m3skny3ex7.fsf@telefonica.net>
2009-01-05 4:33 ` Michael Albinus
2009-01-05 5:03 ` Óscar Fuentes
2009-01-05 14:33 ` Michael Albinus
2009-01-05 15:29 ` Óscar Fuentes
2009-01-05 16:06 ` Michael Albinus
2009-01-05 18:20 ` Óscar Fuentes
2009-01-05 18:45 ` Michael Albinus
[not found] <mailman.782.1227133957.26697.help-gnu-emacs@gnu.org>
2008-11-20 7:05 ` Michael Albinus
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).