From: Bruce Ingalls <bingalls.NO_SPAM@fit-zones.com>
Subject: Re: w32 ssh trouble
Date: Sat, 17 May 2003 12:45:05 GMT [thread overview]
Message-ID: <l9qxa.15798$4_1.3393422@twister.nyc.rr.com> (raw)
In-Reply-To: <847k8rxv9l.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.
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.
Thus, "your-pw\r\n" would work best, as the \r and \n will get chopped
out. In other words, this seems to work, but not for the reasons you
expected.
next prev parent reply other threads:[~2003-05-17 12:45 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 [this message]
2003-05-17 19:46 ` Kai Großjohann
2003-05-18 4:25 ` Bruce Ingalls
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='l9qxa.15798$4_1.3393422@twister.nyc.rr.com' \
--to=bingalls.no_spam@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.