From: Bruce Ingalls <bingalls@SpAmBlOcK.fit-zones.com>
Subject: Re: w32 ssh trouble
Date: Sun, 18 May 2003 04:25:39 GMT [thread overview]
Message-ID: <7XDxa.17677$4_1.3710968@twister.nyc.rr.com> (raw)
In-Reply-To: <84el2xmk59.fsf@lucy.is.informatik.uni-duisburg.de>
Kai Großjohann wrote:
> Bruce Ingalls <bingalls.NO_SPAM@fit-zones.com> writes:
>
>>>>I tried plink v0.53b (should be latest binary release), and I was
>>>>able to get the prompt for the password, when I run it inside M-x shell.
>>>>However, it does not recognize my password, even though I know that I
>>>>am entering it correctly.
>>>
>>>What happens when you use M-: (process-send-string nil "your-pw\n")
>>>RET to send the password? What happens when you use \r instead of
>>>\n? What happens when you use \r\n instead of \n?
>>
>>Well, It's a bit hard to do this, in the middle of a password prompt.
>>It tries to read in M-: (whatever control char that generates) as my
>>password.
>
> Hm. Well, you can remove comint-watch-for-password-prompt from
> comint-output-filter-functions. That ought to remove the minibuffer
> prompt and thus you can do M-: normally.
>
>>I did try to do a C-g (a second time, after I got a "Non echoed text"
>>prompt) and I noticed this phenomenon:
>>The shell seems to chop off the last 2 characters of my input.
>
> Huh? That's weird.
>
> I could put stuff in Tramp that adds junk to passwords. (Are we
> talking about Tramp?) Surely I would do this if it makes users
> happy. But it makes me feel REALLY REALLY uneasy. *shudder*
I tried the above, and yes, it works.
I tried appending any 2 chars to the end, and this worked.
We are not talking about Tramp, yet. I figure that I have to get plink
(ssh) working in M-x shell, before we can talk about Tramp.
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.
I understand your unease. The other solution is to pass in passwords,
using Plink's -pw command line option.
next prev parent reply other threads:[~2003-05-18 4:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-15 1:55 w32 ssh trouble Bruce Ingalls
2003-05-15 7:06 ` Jason Rumney
2003-05-15 14:52 ` Bruce Ingalls
2003-05-15 20:07 ` Jason Rumney
2003-05-16 6:25 ` Kai Großjohann
2003-05-17 12:45 ` Bruce Ingalls
2003-05-17 19:46 ` Kai Großjohann
2003-05-18 4:25 ` Bruce Ingalls [this message]
2003-05-18 8:35 ` Kai Großjohann
2003-05-18 11:44 ` Bruce Ingalls
2003-05-18 15:02 ` Kai Großjohann
2003-05-15 8:40 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='7XDxa.17677$4_1.3710968@twister.nyc.rr.com' \
--to=bingalls@spamblock.fit-zones.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.