pascal carrie | 1 Jun 16:44 2004
Picon
Picon

Re: multihop with su

i use emacs
the problem is that the result is sometimes different:
ones i obtains: "wrong argument: integerp, user"
sometimes it simply hang
/multi:ssh:usuario <at> proto:/etc/iptables.conf:su:root <at> proto
mi *tramp/multi ssh#usuario <at> proto:*
contiene :
user <at> server's password:
(i have set setq tramp-debug-buffer t in .emacs)
i have seen that if i try
/multi:ssh:user <at> server:ssh:user <at> server1:/some/path
it hangs too...
thanks for help
(i did not do the bug report because i have no trace
at all, it simply hangs or give the precedent
message...)
bye
pascal

--- Michael Albinus <michael.albinus <at> gmx.de> escribió:
> pascal carrie <pascal_carrie <at> yahoo.es> writes:
> 
> > hi
> 
> Hi,
> 
> > i have a server with ssh to connect but i can not
> > directly as root, so first i must connect as user.
> > I have tried (thanks the manual) with multi hop
> but i
(Continue reading)

Kai Grossjohann | 1 Jun 17:10 2004
Picon

Re: multihop with su

pascal carrie <pascal_carrie <at> yahoo.es> writes:

> i use emacs
> the problem is that the result is sometimes different:
> ones i obtains: "wrong argument: integerp, user"
> sometimes it simply hang
> /multi:ssh:usuario <at> proto:/etc/iptables.conf:su:root <at> proto
> mi *tramp/multi ssh#usuario <at> proto:*
> contiene :
> user <at> server's password:
> (i have set setq tramp-debug-buffer t in .emacs)
> i have seen that if i try
> /multi:ssh:user <at> server:ssh:user <at> server1:/some/path
> it hangs too...
> thanks for help
> (i did not do the bug report because i have no trace
> at all, it simply hangs or give the precedent
> message...)

Please put (setq tramp-debug-buffer t) in ~/.emacs, then reproduce
the bug again, then show us the *debug tramp/foo* and *tramp/foo*
buffers.

That will tell us where it hangs.

Hm.  But you are seeing "user <at> server's password:" in the *tramp/foo*
buffer.  So why isn't Tramp asking you for the password, then?

Perhaps the password prompt regex used by the multihop methods
doesn't match this prompt?
(Continue reading)

pascal carrie | 1 Jun 17:34 2004
Picon
Picon

Re: multihop with su

sorry but my english is not so good
i have allready put the (setq tramp-debug-buffer t) in
the .emacs
but as the emacs hangs, i must kill him
i join you the result of the tramp-bug (now it simply
not available in my emacs?¿). I hope it is an help.
 when it does not hang i obtain the too files:
debug tramp/multi ssh#usuario <at> proto:*
# Opening `multi' connection...
# Waiting 60s for local shell to come up...
sh-2.05b$ # Sending rlogin command `ssh proto -l
usuario'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Sending password

and  *tramp/multi ssh#usuario <at> proto:*
usuario <at> proto's password: 

hope it help you
thanks
pascal
--- Kai Grossjohann <kai <at> emptydomain.de> escribió: >
pascal carrie <pascal_carrie <at> yahoo.es> writes:
> 
> > i use emacs
> > the problem is that the result is sometimes
> different:
> > ones i obtains: "wrong argument: integerp, user"
> > sometimes it simply hang
(Continue reading)

Myron Selby | 1 Jun 19:59 2004

problem with #port

I just found tramp a few days ago. I've been fighting with it ever
since to try to connect via ssh to a specific port. I see that this problem
has already been solved but is not released yet. Can you tell me when
this fix will be out or should I get the CVS version?

Thanks,
Myron
Michael Albinus | 1 Jun 21:42 2004
Picon
Picon

Re: problem with #port

Myron Selby <myron <at> xytech.com> writes:

> I just found tramp a few days ago. I've been fighting with it ever
> since to try to connect via ssh to a specific port. I see that this problem
> has already been solved but is not released yet. Can you tell me when
> this fix will be out or should I get the CVS version?

I'm not sure what you mean with that statement. If you refer to my
message from February
<http://lists.gnu.org/archive/html/tramp-devel/2004-02/msg00013.html>
- the situation has changed. All Tramp releases 2.0.39 and upwards
should support the port declaration in Tramp file names properly.

Note that Tramp 2.0 is the stable release series, whereas 2.1 is a
little bit more experimental. Unfortunately, 2.0.41 has a small bug
in compiling tramp.el, which is fixed already in CVS. If you don't
want to get the fix from CVS, 2.0.40 is the better bet.

See the Tramp download area for the latest releases. Of course, I
don't want to discourage you using the Tramp CVS version - it's always
a great support getting bug reports.

> Thanks,
> Myron

Best regards, Michael.
Michael Albinus | 1 Jun 22:06 2004
Picon
Picon

Re: multihop with su

pascal carrie <pascal_carrie <at> yahoo.es> writes:

>  when it does not hang i obtain the too files:
> debug tramp/multi ssh#usuario <at> proto:*
> # Opening `multi' connection...
> # Waiting 60s for local shell to come up...
> sh-2.05b$ # Sending rlogin command `ssh proto -l
> usuario'

That means the first hop has been successfull.

> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell
> # Sending password
>
> and  *tramp/multi ssh#usuario <at> proto:*
> usuario <at> proto's password: 

So it has reached the second hop. But it didn't asked you ...

Oops, I've just discovered that password caching is not working
correctly for multi-hops. So please disable this feature by
(setq password-cache nil) in your .emacs.

> hope it help you
> thanks
> pascal

Best regards, Michael.
(Continue reading)

Myron Selby | 1 Jun 22:56 2004

Re: problem with #port

Hi Michael,

First I wanted to say thanks a lot for responding so quickly. That
is the post I was referring to. I'm using 2.0.41 (which for some
reason reports in Xemacs that its version is 2.0.36). I'll try the
2.0.40 and see if that fixes it.

Thanks again,
Myron

Michael Albinus wrote:

>Myron Selby <myron <at> xytech.com> writes:
>
>  
>
>>I just found tramp a few days ago. I've been fighting with it ever
>>since to try to connect via ssh to a specific port. I see that this problem
>>has already been solved but is not released yet. Can you tell me when
>>this fix will be out or should I get the CVS version?
>>    
>>
>
>I'm not sure what you mean with that statement. If you refer to my
>message from February
><http://lists.gnu.org/archive/html/tramp-devel/2004-02/msg00013.html>
>- the situation has changed. All Tramp releases 2.0.39 and upwards
>should support the port declaration in Tramp file names properly.
>
>Note that Tramp 2.0 is the stable release series, whereas 2.1 is a
(Continue reading)

Myron Selby | 2 Jun 06:10 2004

Re: problem with #port

Well I tried 2.0.40 and I still get the same result. In xemacs
I enter:

/[calg.calgary#8022]/tmp/

I get a message saying

Symbols's value as variable is void: rsh-args

I've tried various permutations of the above:

/[ssh/calg.calgary#8022]/tmp/
/[mselby <at> calg.calgary#8022]/tmp/
/[ssh/mselby <at> calg.calgary#8022]/tmp/

I get the same result. Do I have something configured wrong?
I left everything to default values.

Myron

Michael Albinus wrote:
Myron Selby <myron <at> xytech.com> writes:
I just found tramp a few days ago. I've been fighting with it ever since to try to connect via ssh to a specific port. I see that this problem has already been solved but is not released yet. Can you tell me when this fix will be out or should I get the CVS version?
I'm not sure what you mean with that statement. If you refer to my message from February <http://lists.gnu.org/archive/html/tramp-devel/2004-02/msg00013.html> - the situation has changed. All Tramp releases 2.0.39 and upwards should support the port declaration in Tramp file names properly. Note that Tramp 2.0 is the stable release series, whereas 2.1 is a little bit more experimental. Unfortunately, 2.0.41 has a small bug in compiling tramp.el, which is fixed already in CVS. If you don't want to get the fix from CVS, 2.0.40 is the better bet. See the Tramp download area for the latest releases. Of course, I don't want to discourage you using the Tramp CVS version - it's always a great support getting bug reports.
Thanks, Myron
Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
Tramp-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/tramp-devel
Michael Albinus | 2 Jun 07:21 2004
Picon
Picon

Re: problem with #port

Myron Selby <myron <at> xytech.com> writes:

> Well I tried 2.0.40 and I still get the same result. In xemacs
> I enter:
>
> /[calg.calgary#8022]/tmp/
>
> I get a message saying
>
> Symbols's value as variable is void: rsh-args

That is strange, because the rsh-args problem has been solved on
2004/01/03 (I've checked in CVS).

Did you install Tramp according to the instructions given in INSTALL?
Are you sure your load path is correct? You can check it via

  M-x locate-library RET tramp RET

> Myron

Best regards, Michael.
pascal carrie | 2 Jun 11:56 2004
Picon
Picon

Re: multihop with su

ok it does not work
i send you the complete bug report (i had to
dpkg-reconfigure tramp for acceding the bug-tramp
hope it's help
thanks
pascal

/multi:ssh:usuario <at> proto:/etc/iptables:su:root <at> proto
in command line i obtain this message
wrong type of argument integerp, "usuario"
my emacs file look like: 
(setq tramp-debug-buffer t)
(setq password-cache nil)

*tramp/multi ssh#usuario <at> proto:*:
usuario <at> proto's password: 

*tramp/multi ssh#usuario <at> proto:*
# Opening `multi' connection...
# Waiting 60s for local shell to come up...
sh-2.05b$ # Sending rlogin command `ssh proto -l
usuario'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Sending password

but if i try a second times it simply hang
i can see whith ps in both case:
ssh proto -l usuario 

Emacs  : GNU Emacs 21.3.1 (i386-pc-linux-gnu, X
toolkit, Xaw3d scroll bars)
 of 2004-04-07 on raven, modified by Debian
Package: tramp (2.0.39)

current state:
==============
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-multi-method nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "ssh"
 tramp-rsh-end-of-line "\n"
 tramp-default-password-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin"
"/usr/local/bin"
		     "/usr/ccs/bin" "/local/bin"
"/local/freeware/bin"
		     "/local/gnu/bin" "/usr/freeware/bin"
"/usr/pkg/bin"
		     "/usr/contrib/bin")
 tramp-login-prompt-regexp ".*ogin: *"
 tramp-password-prompt-regexp
"^.*\\([pP]assword\\|passphrase.*\\):
 --- Michael Albinus <michael.albinus <at> gmx.de>
escribió: > pascal carrie <pascal_carrie <at> yahoo.es>
writes:
> 
> >  when it does not hang i obtain the too files:
> > debug tramp/multi ssh#usuario <at> proto:*
> > # Opening `multi' connection...
> > # Waiting 60s for local shell to come up...
> > sh-2.05b$ # Sending rlogin command `ssh proto -l
> > usuario'
> 
> That means the first hop has been successfull.
> 
> > # Waiting for prompts from remote shell
> > # Waiting 60s for prompt from remote shell
> > # Sending password
> >
> > and  *tramp/multi ssh#usuario <at> proto:*
> > usuario <at> proto's password: 
> 
> So it has reached the second hop. But it didn't
> asked you ...
> 
> Oops, I've just discovered that password caching is
> not working
> correctly for multi-hops. So please disable this
> feature by
> (setq password-cache nil) in your .emacs.
> 
> > hope it help you
> > thanks
> > pascal
> 
> Best regards, Michael. 

		
______________________________________________________________________
Correo Yahoo! - 6MB, más protección contra el spam ¡Gratis!
http://correo.yahoo.es

Gmane