[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One host hanging on connect

From: yary
Subject: One host hanging on connect
Date: Sun, 11 May 2008 14:48:00 -0700

I have tramp working via plink, but there's one host it fails to
connect with. The messages say:

Tramp: Opening connection for address@hidden using plink...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `plink -l yary  -ssh && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Found remote shell prompt on `'

and at that point hangs. I turned on debug-on-quit/C-g, and the stack
trace at that point is at the end of the message. It made me wonder if
that host has a problem with uname, so I ran it:

-bash-2.05b$ echo "`uname -sr`" 2> /dev/null ; echo tramp_exit_status $?
OpenBSD 3.9
tramp_exit_status 0

Any idea how to fix this hanging? thanks in advance...

here's the backtrace:

Debugger entered--Lisp error: (quit)
  accept-process-output(#<process *tramp/plink address@hidden> 1 nil)
  byte-code(" (binary garbage) " [timeout with-timeout-tag
with-timeout-timer with-timeout-timers proc timeout-msecs
run-with-timer 1 nil with-timeout-handler accept-process-output
with-timeout-value] 6)
  tramp-accept-process-output(#<process *tramp/plink address@hidden> 1)
  tramp-wait-for-regexp(#<process *tramp/plink address@hidden> nil "
  tramp-wait-for-output(#<process *tramp/plink address@hidden>)
  tramp-send-command(["plink" "yary" "" ""] "echo
\\\"`uname -sr`\\\" 2>/dev/null; echo tramp_exit_status $? ")
  tramp-send-command-and-check(["plink" "yary" "" ""]
"echo \\\"`uname -sr`\\\"")
  tramp-barf-unless-okay(["plink" "yary" "" ""] "echo
\\\"`uname -sr`\\\"" "`%s' returns with error" "echo \\\"`uname
  tramp-send-command-and-read(["plink" "yary" "" ""]
"echo \\\"`uname -sr`\\\"")
  tramp-open-connection-setup-interactive-shell(#<process *tramp/plink
address@hidden> ["plink" "yary" "" ""])
  tramp-maybe-open-connection(["plink" "yary" "" ""])
  tramp-send-command(["plink" "yary" "" ""] "cd ~; pwd")
  tramp-handle-expand-file-name("/address@hidden:" nil)
  apply(tramp-handle-expand-file-name ("/address@hidden:" nil))
  tramp-sh-file-name-handler(expand-file-name "/address@hidden:" nil)
  apply(tramp-sh-file-name-handler expand-file-name
("/address@hidden:" nil))
  tramp-file-name-handler(expand-file-name "/address@hidden:" nil)
  find-file-noselect("/address@hidden:" nil nil t)
  find-file("/address@hidden:" t)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]