From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: w32 ssh trouble Date: Sun, 18 May 2003 17:02:33 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84wugo47sm.fsf@lucy.is.informatik.uni-duisburg.de> References: <0sCwa.27818$h42.300@twister.nyc.rr.com> <0RNwa.29446$h42.7629@twister.nyc.rr.com> <847k8rxv9l.fsf@lucy.is.informatik.uni-duisburg.de> <84el2xmk59.fsf@lucy.is.informatik.uni-duisburg.de> <7XDxa.17677$4_1.3710968@twister.nyc.rr.com> <84wugosld1.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053270290 6694 80.91.224.249 (18 May 2003 15:04:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 May 2003 15:04:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun May 18 17:04:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HPiS-0001jq-00 for ; Sun, 18 May 2003 17:04:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HPj5-0008Ai-04 for gnu-help-gnu-emacs@m.gmane.org; Sun, 18 May 2003 11:05:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!p50877b98.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: p50877b98.dip.t-dialin.net (80.135.123.152) Original-X-Trace: fu-berlin.de 1053270161 27722624 80.135.123.152 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:b7I1pVnQItyUKNhS9y+enfB5t0k= Original-Xref: shelby.stanford.edu gnu.emacs.help:113358 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9852 Bruce Ingalls writes: > Kai Großjohann wrote: >> Bruce Ingalls writes: > >>>I tried appending any 2 chars to the end, and this worked. >> Amazing. >> >>>Now that I can get plink working under M-x shell, I tried adding >>>garbage to the end of my password in Tramp, but that did not work. >>>Unfortunately, this is not a good indicator, as Plink only works for >>>me via protocol 1, and I'll have to fool with Tramp settings for this. >> What's the command line you use to tell plink to use protocol 1? >> I'll add an entry plink1 to tramp-methods for you. > > -1 just like ssh. Great. I've now added the entry. New version in CVS. So if I understand you correctly, you just have to append two random chars to your password, and then it will work, right? Whee. I wonder what's going to happen. It's really weird. >>>I understand your unease. The other solution is to pass in passwords, >>>using Plink's -pw command line option. >> Whee. That doesn't seem better. > > I forgot to mention, that you don't need to append garbage, when > passing the password on the command line. Understood. Hm. Does it work to set tramp-password-end-of-line to "xx\n"? It's a really really really dirty trick. But who knows... Alas, Tramp is not flexible enough to allow different values of tramp-password-end-of-line for different methods. -- This line is not blank.