unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tramp: ssh method broken
@ 2002-08-08 13:14 Andreas Schwab
  2002-08-08 13:59 ` Kai Großjohann
  2002-08-21 15:06 ` Kai Großjohann
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Schwab @ 2002-08-08 13:14 UTC (permalink / raw)
  Cc: emacs-devel

The ssh method seems to be broken for big files.  Files that are bigger
than about 100K often (but not always) end up being empty.  Files that are
even bigger are always retrieved as empty.  Also, remotely saving files
does not work at all, tramp is constantly trying to reinitialize the
shell.  By contrast, the scp method is working just fine.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: tramp: ssh method broken
  2002-08-08 13:14 tramp: ssh method broken Andreas Schwab
@ 2002-08-08 13:59 ` Kai Großjohann
  2002-08-21 15:06 ` Kai Großjohann
  1 sibling, 0 replies; 8+ messages in thread
From: Kai Großjohann @ 2002-08-08 13:59 UTC (permalink / raw)
  Cc: emacs-devel

Thanks for the report.  Unfortunately, I'm going on a conference and
will probably not be able to work on this for the next two weeks.
Sorry.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* Re: tramp: ssh method broken
  2002-08-08 13:14 tramp: ssh method broken Andreas Schwab
  2002-08-08 13:59 ` Kai Großjohann
@ 2002-08-21 15:06 ` Kai Großjohann
  2002-08-21 15:40   ` Andreas Schwab
  1 sibling, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2002-08-21 15:06 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab <schwab@suse.de> writes:

> The ssh method seems to be broken for big files.  Files that are bigger
> than about 100K often (but not always) end up being empty.  Files that are
> even bigger are always retrieved as empty.  Also, remotely saving files
> does not work at all, tramp is constantly trying to reinitialize the
> shell.  By contrast, the scp method is working just fine.

I tried to reproduce both problems, but I could only reproduce the
saving problem.  Is it fixed now?

Maybe it also works now to find large remote files?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* Re: tramp: ssh method broken
  2002-08-21 15:06 ` Kai Großjohann
@ 2002-08-21 15:40   ` Andreas Schwab
  2002-08-22 15:42     ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Schwab @ 2002-08-21 15:40 UTC (permalink / raw)
  Cc: emacs-devel

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

|> Andreas Schwab <schwab@suse.de> writes:
|> 
|> > The ssh method seems to be broken for big files.  Files that are bigger
|> > than about 100K often (but not always) end up being empty.  Files that are
|> > even bigger are always retrieved as empty.  Also, remotely saving files
|> > does not work at all, tramp is constantly trying to reinitialize the
|> > shell.  By contrast, the scp method is working just fine.
|> 
|> I tried to reproduce both problems, but I could only reproduce the
|> saving problem.  Is it fixed now?

No.  The following messages are repeated infinitely:

tramp: Initializing remote shell
tramp: Waiting 30s for remote `/bin/sh' to come up...
tramp: Setting up remote shell environment
tramp: Determining coding system
tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
tramp: Waiting 30s for `set +o vi +o emacs'
tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
tramp: Waiting 30s for `unset CDPATH'
tramp: Setting shell prompt
tramp: Opening connection at neodym using ssh...
tramp: Processing actions
tramp: Waiting 60s for prompt from remote shell
tramp: Looking for pattern ^.*\([pP]assword\|passphrase.*\):
tramp: Looking for pattern .*ogin: *
tramp: Looking for pattern ^[^#$%>
]*[#$%>] *
tramp: Looking for pattern ^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not known\|\(?:Permission denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).*
tramp: Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
tramp: Looking for pattern ^.*\([pP]assword\|passphrase.*\):
tramp: Looking for pattern .*ogin: *
tramp: Looking for pattern ^[^#$%>
]*[#$%>] *
tramp: Found remote shell prompt.

|> Maybe it also works now to find large remote files?

I still sometimes get no data, but it eventually succeeds when repeated.
Once I got into the loop above I don't seem to be able to use tramp w/ ssh
at all until I kill the *tramp/ssh ...* buffer.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: tramp: ssh method broken
  2002-08-21 15:40   ` Andreas Schwab
@ 2002-08-22 15:42     ` Kai Großjohann
  2002-08-24 17:55       ` Andreas Schwab
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2002-08-22 15:42 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab <schwab@suse.de> writes:

> No.  The following messages are repeated infinitely:

Okay, so it still doesn't work.  Could you please, after updating to
Tramp 2.0.14 which I committed some minutes ago, (setq
tramp-debug-buffer t) and (setq tramp-verbose 10), and then submit a
Tramp bug report with M-x tramp-bug RET?  Please include both the
*tramp/foo* buffer and the *debug tramp/foo* buffer in this report.

In order to keep the *debug tramp/foo* buffer short, it might be
helpful to proceed as follows:

* start Emacs with the above Tramp settings
* open a local file which is "large"
* use C-x C-w to save the file to a remote host
  When entering the filename, do not use filename completion.

With this procedure, Tramp shouldn't kick in at all until you hit RET
after C-x C-w.

If you want to send in reports for both saving and opening large
files, then you might wish to kill the *tramp/foo* and *debug
tramp/foo* buffers at this point and to then open a "large" remote
file.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* Re: tramp: ssh method broken
  2002-08-22 15:42     ` Kai Großjohann
@ 2002-08-24 17:55       ` Andreas Schwab
  2002-08-24 19:33         ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Schwab @ 2002-08-24 17:55 UTC (permalink / raw)
  Cc: emacs-devel

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

|> Andreas Schwab <schwab@suse.de> writes:
|> 
|> > No.  The following messages are repeated infinitely:
|> 
|> Okay, so it still doesn't work.  Could you please, after updating to
|> Tramp 2.0.14 which I committed some minutes ago,

I haven't been able to reproduce the problem with this version.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: tramp: ssh method broken
  2002-08-24 17:55       ` Andreas Schwab
@ 2002-08-24 19:33         ` Kai Großjohann
  2002-08-24 20:40           ` Jonathan Walther
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2002-08-24 19:33 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab <schwab@suse.de> writes:

> I haven't been able to reproduce the problem with this version.

Good news, finally!  Thanks.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

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

* Re: tramp: ssh method broken
  2002-08-24 19:33         ` Kai Großjohann
@ 2002-08-24 20:40           ` Jonathan Walther
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Walther @ 2002-08-24 20:40 UTC (permalink / raw)
  Cc: Andreas Schwab, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

On Sat, Aug 24, 2002 at 09:33:14PM +0200, Kai Gro?johann wrote:
>A large number of young women don't trust men with beards.  (BFBS Radio)

It's because they've never learnt how to deal with real men; all they
are familiar with is the plucked and depilated eunuchs that run around
claiming that they LIKE to shave... ^_^

Jonathan

-- 
                     Geek House Productions, Ltd.

  Providing Unix & Internet Contracting and Consulting,
  QA Testing, Technical Documentation, Systems Design & Implementation,
  General Programming, E-commerce, Web & Mail Services since 1998

Phone:   604-435-1205
Email:   djw@reactor-core.org
Webpage: http://reactor-core.org
Address: 2459 E 41st Ave, Vancouver, BC  V5R2W2

[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]

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

end of thread, other threads:[~2002-08-24 20:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-08 13:14 tramp: ssh method broken Andreas Schwab
2002-08-08 13:59 ` Kai Großjohann
2002-08-21 15:06 ` Kai Großjohann
2002-08-21 15:40   ` Andreas Schwab
2002-08-22 15:42     ` Kai Großjohann
2002-08-24 17:55       ` Andreas Schwab
2002-08-24 19:33         ` Kai Großjohann
2002-08-24 20:40           ` Jonathan Walther

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).