unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tramp hang
@ 2008-01-06  8:36 braydon fuller
  2008-01-06  9:05 ` Thierry Volpiatto
  2008-01-06 10:41 ` Michael Albinus
  0 siblings, 2 replies; 5+ messages in thread
From: braydon fuller @ 2008-01-06  8:36 UTC (permalink / raw)
  To: help-gnu-emacs

after sending password emacs hangs, when trying to use tramp on one of
my servers (this one is a XEN VPS, from GPLHost).

Anyone know the problem?

I'm getting the following in my *tramp...* debug buffer

# Opening connection for root@117.121.243.13 using ssh...
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Sending password


I'm getting the following in my *tramp/ssh root@117.121.243.13* buffer

Last login: Sun Jan  6 08:25:54 2008 from
24-205-80-87.dhcp.psdn.ca.charter.com 
Linux xen018111 2.6.16.33-xenU #2 SMP Mon Apr 9 02:34:38 PDT 2007 x86_64
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
^[[1;31mroot^[[0;37m@^[[1;34mGPLHost^[[0;37m:^[[1;36mxen018111^[[0;37m>_^[[0m ~#
\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b


-- 
bgfuller braydon.com
626.298.6570 land
323.841.0048 air
117.121.243.13 web
LA CA USA

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tramp hang
  2008-01-06  8:36 tramp hang braydon fuller
@ 2008-01-06  9:05 ` Thierry Volpiatto
  2008-01-06  9:33   ` braydon fuller
       [not found]   ` <47809D21.5030401@braydon.com>
  2008-01-06 10:41 ` Michael Albinus
  1 sibling, 2 replies; 5+ messages in thread
From: Thierry Volpiatto @ 2008-01-06  9:05 UTC (permalink / raw)
  To: braydon fuller; +Cc: help-gnu-emacs

Are you sure you are allowed to log as root with ssh on your server?
(/etc/sshd_config ==> PermitRootLogin no/yes)
Normally no.

braydon fuller <courier@braydon.com> writes:

> after sending password emacs hangs, when trying to use tramp on one of
> my servers (this one is a XEN VPS, from GPLHost).
>
> Anyone know the problem?
>
> I'm getting the following in my *tramp...* debug buffer
>
> # Opening connection for root@117.121.243.13 using ssh...
> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell
> # Sending password
>
>
> I'm getting the following in my *tramp/ssh root@117.121.243.13* buffer
>
> Last login: Sun Jan  6 08:25:54 2008 from
> 24-205-80-87.dhcp.psdn.ca.charter.com 
> Linux xen018111 2.6.16.33-xenU #2 SMP Mon Apr 9 02:34:38 PDT 2007 x86_64
>  
> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>  
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> root@GPLHost:xen018111>_ ~#
> \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b

-- 
A + Thierry
Pub key: http://pgp.mit.edu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tramp hang
  2008-01-06  9:05 ` Thierry Volpiatto
@ 2008-01-06  9:33   ` braydon fuller
       [not found]   ` <47809D21.5030401@braydon.com>
  1 sibling, 0 replies; 5+ messages in thread
From: braydon fuller @ 2008-01-06  9:33 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1564 bytes --]

I get:
tramp: Looking for regexp "" from remote shell

after adding to my .emacs:
(setq tramp-verbose 10)

And, yep I can ssh in normally, just not through emacs.
/etc/sshd_config = no file or directory


Thierry Volpiatto wrote:
> Are you sure you are allowed to log as root with ssh on your server?
> (/etc/sshd_config ==> PermitRootLogin no/yes)
> Normally no.
>
> braydon fuller <courier@braydon.com> writes:
>
>   
>> after sending password emacs hangs, when trying to use tramp on one of
>> my servers (this one is a XEN VPS, from GPLHost).
>>
>> Anyone know the problem?
>>
>> I'm getting the following in my *tramp...* debug buffer
>>
>> # Opening connection for root@117.121.243.13 using ssh...
>> # Waiting for prompts from remote shell
>> # Waiting 60s for prompt from remote shell
>> # Sending password
>>
>>
>> I'm getting the following in my *tramp/ssh root@117.121.243.13* buffer
>>
>> Last login: Sun Jan  6 08:25:54 2008 from
>> 24-205-80-87.dhcp.psdn.ca.charter.com 
>> Linux xen018111 2.6.16.33-xenU #2 SMP Mon Apr 9 02:34:38 PDT 2007 x86_64
>>  
>> The programs included with the Debian GNU/Linux system are free software;
>> the exact distribution terms for each program are described in the
>> individual files in /usr/share/doc/*/copyright.
>>  
>> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
>> permitted by applicable law.
>> root@GPLHost:xen018111>_ ~#
>> \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
>>     
>
>   


-- 
bgfuller braydon.com
626.298.6570 land
323.841.0048 air
117.121.243.13 web
LA CA USA








[-- Attachment #1.2: Type: text/html, Size: 2195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tramp hang
  2008-01-06  8:36 tramp hang braydon fuller
  2008-01-06  9:05 ` Thierry Volpiatto
@ 2008-01-06 10:41 ` Michael Albinus
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Albinus @ 2008-01-06 10:41 UTC (permalink / raw)
  To: braydon fuller; +Cc: help-gnu-emacs

braydon fuller <courier@braydon.com> writes:

> root@GPLHost:xen018111>_ ~#
> \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b

Your prompt is not Tramp friendly; it seems to contain escape
sequences. Read the Tramp manual, sections "Remote shell setup" and
"Frequently Asked Questions".

Best regards, Michael.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tramp hang
       [not found]     ` <874pdrwa6t.fsf@thievol.homelinux.org>
@ 2008-01-06 11:27       ` braydon fuller
  0 siblings, 0 replies; 5+ messages in thread
From: braydon fuller @ 2008-01-06 11:27 UTC (permalink / raw)
  To: help-gnu-emacs

I finally got tramp working by using the following in my .emacs:
(setq shell-prompt-pattern "\b")

(if the above character between " " doesn't show up, it looked like "^H"
in my .emacs)

I copied the character it was repeating at the end of my prompt found by
looking in the buffer:
*tramp ssh:root@.......*

i got this buffer by enabling the following in my .emacs:
(setq tramp-debug-buffer t)


-----

To login I used the command:
C-x M-f
Find file: /root@sample.com:/

with the following in my .emacs:
(setq tramp-default-method "ssh")

-----

This worked for a GPLHost XEN VPS running Debian lenny/sid
I am using Emacs22 that has TRAMP packaged.

-----
I also used in my .emacs so tramp would previously be loaded, however
it's not required, emacs will load it on the fly:
(require 'tramp)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-06 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-06  8:36 tramp hang braydon fuller
2008-01-06  9:05 ` Thierry Volpiatto
2008-01-06  9:33   ` braydon fuller
     [not found]   ` <47809D21.5030401@braydon.com>
     [not found]     ` <874pdrwa6t.fsf@thievol.homelinux.org>
2008-01-06 11:27       ` braydon fuller
2008-01-06 10:41 ` 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).