From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: George McBane Newsgroups: gmane.emacs.help Subject: Re: Tramp under Windoze: should "semicommercial" SSH2 work? Date: Mon, 19 May 2008 10:27:37 -0400 Organization: Grand Valley State University Message-ID: References: Reply-To: mcbaneg@gvsu.removethis.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211250844 31193 80.91.229.12 (20 May 2008 02:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2008 02:34:04 +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 May 20 04:34:41 2008 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 1JyHgX-0008O6-5v for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2008 04:34:41 +0200 Original-Received: from localhost ([127.0.0.1]:37809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyHfn-0002gH-6R for geh-help-gnu-emacs@m.gmane.org; Mon, 19 May 2008 22:33:55 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-X-Trace: feeder.motzarella.org U2FsdGVkX18yIo+GBcI3ZX12VmJZ6g3NAuIx+UCeBxMkka+0ulpqwFwrJUCFet68PvmEko+TBVFsUhCuBgZ92+8f2uqoQtQJrFYEHsiEn+6NIVZAmebchR3/pTMNE6o+yLPWztmt5Xg= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 19 May 2008 14:27:39 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX19ERZah2V6x4idpV8DiT0QCe3q9K35n/BQ= Cancel-Lock: sha1:3PfU1NnwIOQ9Wcl4yAsIZO3fkLE= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) Original-Xref: news.stanford.edu gnu.emacs.help:158767 X-Mailman-Approved-At: Mon, 19 May 2008 22:32:37 -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:54144 Archived-At: Michael Albinus wrote: > Could you, please, evaluate before the test > (setq tramp-verbose 10) > If you run Tramp 2.0, you need also > (setq tramp-debug-buffer t) > > Rerun the test. There will be another buffer *debug tramp/ssh2_old > username@machine.domain*, which might explain to us what happens. After I do ^G to regain control, the "tramp" buffer is empty but the "debug" buffer contains (I'm having some trouble with special characters in the newsreader) # 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 "^[^#$%> ]*[#$%>] *\(^[\[[0-9;]*[a-zA-Z] *\)*" 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 "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote shell # Looking for regexp "" from remote shell If I open an ordinary Command Prompt shell under Windows and type ssh2 -l username machine.domain I get a password prompt: username's password: (and I type it in) I then get a welcome message that lists the last unsuccessful login, the last login, a "Welcome" banner, followed by ds001 % which is the shell prompt. So this works as expected. Thanks, George.