From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Olivier Sirven Newsgroups: gmane.emacs.help Subject: Tramp won't work for me Date: Mon, 27 Jul 2009 14:09:42 +0200 Organization: Guest of ProXad - France Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248739179 18034 80.91.229.12 (27 Jul 2009 23:59:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2009 23:59:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 28 01:59:32 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MVa6O-0000Vv-04 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 01:59:32 +0200 Original-Received: from localhost ([127.0.0.1]:35081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVa6N-0000h8-F7 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 19:59:31 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp12-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) Cancel-Lock: sha1:uhhgnLJK50tI3tmk0GJffhbSF4k= Original-Lines: 75 Original-NNTP-Posting-Date: 27 Jul 2009 14:09:43 MEST Original-NNTP-Posting-Host: 82.224.24.185 Original-X-Trace: 1248696583 news-3.free.fr 15182 82.224.24.185:57954 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:171243 X-Mailman-Approved-At: Mon, 27 Jul 2009 19:57:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66439 Archived-At: Hello there, I've been struggling to get tramp to work on my computers but it seems I just can't... It keeps ending in failure with this last message: # Waiting 30s for remote `/bin/sh' to come up... $ [[Regexp `\([^>$][>$] *\|[^>$][>$] *\)\'' not found in 30 secs]] Here is my configuration: ; default method to SSH (setq tramp-default-method "ssh") ; use sudo for root@localhost (add-to-list 'tramp-default-method-alist '("\\`localhost\\'" "\\`root\\'" "sudo")) ; set the prompt pattern (setq tramp-shell-prompt-pattern "[^>$][>$] *") (setq shell-prompt-pattern "[^>$][>$] *") ; make sure terminal is defined to dumb (setq tramp-terminal-type "dumb") Here is the full log of my last attempt: # Opening connection for @ using scp... # ssh -l -e none # Waiting for prompts from remote shell # Waiting 60s for prompt from remote shell # Looking for regexp "^.*\([pP]assword\|passphrase\).*:? *" from remote shell # Looking for regexp ".*ogin\( .*\)?: *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "^.*\(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]+\).*" from remote shell # Looking for regexp "\(Are you sure you want to continue connecting (yes/no)\?\)\s-*" from remote shell # Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "" from remote shell # Looking for regexp "^.*\([pP]assword\|passphrase\).*:? *" from remote shell # Looking for regexp ".*ogin\( .*\)?: *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "^.*\(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]+\).*" from remote shell # Looking for regexp "\(Are you sure you want to continue connecting (yes/no)\?\)\s-*" from remote shell # Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "" from remote shell # Looking for regexp "^.*\([pP]assword\|passphrase\).*:? *" from remote shell # Looking for regexp ".*ogin\( .*\)?: *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "^.*\(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]+\).*" from remote shell # Looking for regexp "\(Are you sure you want to continue connecting (yes/no)\?\)\s-*" from remote shell # Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Looking for regexp "" from remote shell # Looking for regexp "^.*\([pP]assword\|passphrase\).*:? *" from remote shell # Looking for regexp ".*ogin\( .*\)?: *" from remote shell # Looking for regexp "[^>$][>$] *" from remote shell # Found remote shell prompt. # Initializing remote shell # Sending command to remote shell: unset HISTORY $ unset HISTORY @:~$ # Sending command to remote shell: unset correct $ unset correct @:~$ # Sending command to remote shell: unset autocorrect $ unset autocorrect @:~$ $ exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh # Waiting 30s for remote `/bin/sh' to come up... $ [[Regexp `\([^>$][>$] *\|[^>$][>$] *\)\'' not found in 30 secs]] Do you have an idea to help me fixing this? Thanks -- Olivier