Pasting in SSH when terminal disables echo wipes paste buffer
I'm using the Free Edition v3.0.16.0, and when I attempt to paste something (like a password) on a standard SSH terminal where the terminal is preventing echo (like the password prompt for sudo), it doesn't appear that anything gets pasted. What's more, after echo is restored (Ctrl+C the password input) the paste buffer now seems to be empty, as pasting in RDM doesn't output anything, nor does pasting in any other application.
Hello,
Sorry about that, its not documented and we'll get right on it.
As per https://kb.site5.com/shell-access-ssh/putty/putty-how-to-copy-and-paste-to-and-from-a-putty-window/
Simply selecting using the mouse will perform the copy to clipboard
For the paste operation, its a right-click of the mouse.
Sorry again
Maurice
Yes, and pasting into an SSH console works just fine via right click for any other use case I've encountered. But in this scenario nothing happens and it wipes the paste buffer.
Hello,
I cannot reproduce your issue, we will need more information.
You say "standard SSH Terminal" but we do not have anything named that way, what is the name of the type you are using?
Depending on your response, you may have made a choice for the display mode. Are you running Embedded or External?
Are you using one of our "Copy to clipboard" features to get the password in the buffer?
Best regards,
Maurice
I am using "SSH Shell" with all options set as default, and using the Copy to clipboard feature to get the password in the buffer. If I paste in notepad after using the Copy to clipboard feature, it works. If I copy to the SSH Shell without running sudo (just standard terminal prompt) it works. It's only when being prompted for a password within the shell that it doesn't work.
Hello,
The copy to clipboard feature has a security, err... feature
It clears the buffer using two different mechanisms:
Paste once (secure) : it detects that the buffer has been accessed and it immediately clears it
Legacy : it clears the buffer after a certain time, by default 10 seconds.
Just to add more complexity, we have seen cases where third party applications are regularly peeking at the conetent of the buffer, thereby resulting in RDM clearing it.
Could you go try to set the setting to the Legacy value? This will help in isolating the issue.
Best regards,
Maurice
It seems to be working now... looks like it was already on Legacy, so maybe I was just taking too long to paste the data.