Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 10:09 PM, Alec Ten Harmsel 
 wrote:

> I use urxvt and I've always done Ctrl+Alt+V for paste. If you try that, what 
> does it do?

yes.  it works.  thanks.

i guess the reason ctrl+shift+v, or ctrl+v, work
is because of fish's (shell) magic.  but when ssh
runs, it's no longer fish's business to do its
magic as i'm pasting into ssh's stdin (not
fish's), which is when only urxvt's magic applies.




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 9:51 PM, Caveman Al Toraboran 
 wrote:

> if i press ctrl+shift+v, followed by enter, then
> not even the enter registers. if i press the
> enter again, alone, without the preceeding
> ctrl+shift+v, it works but tells me the obvious
> message "permission denied, please try again".
>
> but if i do the same thing (ctrl+shift+v) in
> urxvt, without having ssh's password prompt, then
> the password pastes normally, and the subsequent
> enter works normally (of course it shows "unknown
> command: ").

just to add:  if i paste the password by the
middlemouse buffer (selection buffer?) it goes
through ssh's login prompt.  but the ctrl+shift+v
(clipboard buffer) doesn't.

both (selection and clipboard) pastes work in
urxvt when ssh's prompt is not there.

but it seems deeper than just the "login prompt".
i repeated the same fast enough to paste before
the "login prompt" appearing, and same effect:
paste did not work when ssh is running.

it seems a problem when ssh is running.

here is one hint:  when i paste with ctrl+shift+v,
ssh shows "^" before the password prompt appears.
of course, shows nothing when the password prompt
appears.




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Alec Ten Harmsel
On Thu, Apr 16, 2020, at 13:51, Caveman Al Toraboran wrote:
> On Thursday, April 16, 2020 8:20 PM,  wrote:
> 
> > I didn't tru that muself, but as far as I could remember,
> > ssh catches the tty so no password will be shown (but processed).
> 
> ya, i know that bit.
> 
> > What happens if you paste the password, ignore, that "nothing" happens
> > and then press  ?
> 
> if i press ctrl+shift+v, followed by enter, then
> not even the enter registers.  if i press the
> enter again, alone, without the preceeding
> ctrl+shift+v, it works but tells me the obvious
> message "permission denied, please try again".

I use urxvt and I've always done Ctrl+Alt+V for paste. If you try that, what 
does it do?

Alec



Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 8:20 PM,  wrote:

> I didn't tru that muself, but as far as I could remember,
> ssh catches the tty so no password will be shown (but processed).

ya, i know that bit.

> What happens if you paste the password, ignore, that "nothing" happens
> and then press  ?

if i press ctrl+shift+v, followed by enter, then
not even the enter registers.  if i press the
enter again, alone, without the preceeding
ctrl+shift+v, it works but tells me the obvious
message "permission denied, please try again".

but if i do the same thing (ctrl+shift+v) in
urxvt, without having ssh's password prompt, then
the password pastes normally, and the subsequent
enter works normally (of course it shows "unknown
command:  ").




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 8:12 PM, David Abbott  wrote:

> Did you try CTRL + SHIFT + V

yes (that's how i paste).




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread tuxic
On 04/16 03:58, Caveman Al Toraboran wrote:
> so i get my password loaded into the clipboard by
> keepassxc.  then i can paste it into various
> terminals, like urxvt.
> 
> but, the strange thing is that, i cannot paste it
> into urxvt when it shows ssh's login prompt.
> 
> i can paste the password loaded into the clipboard
> from keepassxc if there is no ssh login.  but just
> can't when there is an ssh login prompt.
> 
> any idea what's going on?
> 
> rgrds,
> cm.
> 
> 

Hi,

I didn't tru that muself, but as far as I could remember,
ssh catches the tty so no password will be shown (but processed).

What happens if you paste the password, ignore, that "nothing" happens
and then press  ?

Cheers!
Meino





Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread David Abbott
On Thu, Apr 16, 2020 at 11:58 AM Caveman Al Toraboran
 wrote:
>
> so i get my password loaded into the clipboard by
> keepassxc.  then i can paste it into various
> terminals, like urxvt.
>
> but, the strange thing is that, i cannot paste it
> into urxvt when it shows ssh's login prompt.
>
> i can paste the password loaded into the clipboard
> from keepassxc if there is no ssh login.  but just
> can't when there is an ssh login prompt.
>
> any idea what's going on?
>
> rgrds,
> cm.
>
>
Did you try CTRL + SHIFT + V

-- 
David Abbott (dabbott)