We recently started using long passwords for all our logins, it took everyone a bit to get used to but I have noticed that ssh doesn't work when the password has a has space in it.
Is there a way to use long ssh passwords containing spaces?
Usually when I enter a wrong password it closes the connection after 3 tries but when I enter the right password which has space in it, it keeps prompting me for a password unless or until I cancel it.
Example: When I type ssh <user>@<hostname / IP>
it asks for password and I input something like I am superuser (This is the right password)and press enter. It prompts for password again. I do this n number of times and it prompts for password but if I type something like NewPass three times the connection closes because obviously that's wrong password. I have not tried this with wrong "passphrase" or in my case, password with spaces.