I'm setting up a headless RPi, accessed from my Ubuntu desktop. I've set a strong and hard to type password and I really wish I hadn't, because neither terminal SSH nor Vinagre allows me to paste it from KeePass.
There must be a sensible solution but what is it? I'm open to simple tools that pretend to type the contents of the clipboard and can run from a keyboard shortcut, or alternative clients. The infuriating standard behaviour seems designed to encourage trivial passwords, but I can't really believe that's the case so I must be missing something.
In summary, here's what does what, including some new ideas I've been given:
- <shift>+<insert> pastes text into a terminal, but not (or not correctly - the password is rejected) into ssh in a terminal. It also fails in Vinagre (whether it pastes anything is unknown)
- <right-click>,<Paste> pastes text into a terminal, but not (or not correctly- the password is rejected) into ssh in a terminal. This isn't an option in Vinagre
- <middle-click> pastes text into a terminal, but not (or not correctly - the password is rejected) into ssh in a terminal. It also fails in Vinagre (whether it pastes anything is unknown)
- <ctrl>+V of course never pastes text into a terminal. It fails in Vinagre
- <Edit Menu>,<Paste> pastes correctly into ssh in a terminal. It doesn't exist in Vinagre.
- <ctrl>+<shift>+V pastes correctly into ssh in a terminal. It fails in Vinagre. This is currently the most useful approach
Testing in xfce4-terminal, without SSH running, <shift>+<insert> and <middle-click> don't always paste the same as the other options (though they match each other. Specifically copying from KeePass doesn't populate whatever buffer these two pull from.
Vinagre appears to do something with a keyboard shortcut that might be expected to paste - it ignores the first <enter> after such a shortcut.
ssh
. Then you won't need to enter the password. Once you get that working, set up Remmina as VNC client to use ssh tunnel. – user68186 Mar 26 '24 at 16:52ssh-copy-id
. – mpboden Mar 26 '24 at 22:48