Hi,
I have a strange problem that never happened to me.
I have a remote server VM that I access of regularly via ssh with no Keys, password only. On this particular case I Only use Password authentication, Not keys.
I have accessed that server many many times before Even with the current version of LEAP 16.0 before the update for kernel 6.12.0-160000.29.1.
This may not be related but it is the only thing that changed.
The remote VM is a Debian 12 install.
What happened was on a terminal , Konsole, I used to simply access with the usual
ssh <user>@<IPaddress>
Today I was accessing as usual and pasted the password and … I always get the same access denied message.
Permission denied, please try again.
I entered the VM over a web client and there was nothing blocked on fail2ban, my IP is on the ignorelist.
There were errors of authentication on the auth.log password failure.
And I tested the passwrod for the users in question and they worked no problem.
So I went back to the console and … I thought I had made a password mistake … so I used sshpass to clearly show on the prompt the password …
sshpass -v -p 'userpassword' ssh <user>@<IPaddress>
Imagine my surprise when it actually worked … I logged in no problem.
Trying the exact same password with copy-paste … (ctrl-insert or crtl-V ) … always give the same error when using ssh only!
This is beyond strange … and I checked I am pasting the correct password!
So the next time I used ssh Write/Type the password on the prompt … No problem! I logged in .
And then I tested using the KDE … right mouse options and choose with the mouse …paste …
It works!
So …typing works, pasting with the right-mouse options → paste works … sshpass works
Doing ctrl-insert or crt-V … Does not work !
Oh and … doing crtl-insert on the console clearly pastes the correct password …
anyone had any idea of what is going on ?