I currently have a .bat file that goes :
powershell -command ssh blabla@blabla.blabla
It automatically connects to where i want but i have to input my password which is annoying. I want to input the password automatically.
I've tried to read this and tried the scripts without sshpass, but I don't understand anything. I keep having errors (spawn command not found, etc ...) Automatically enter SSH password with script
What is "#!/usr/bin/expect" What are the extensions they use? Do i have to install softwares? Does it not work on Windows?
Can i do what they do without using sshpass (i don't mind having a visible password written on my laptop)?
I am very inexperienced in .bat files and ssh stuff (i barely understand what ssh means to be completely honest even after reading the wikipedia page on ssh) so i would appreciate "noob-friendly" answers. Really sorry if the answer was obvious on the linked post, but I understand half the words they are using.
Thank you very much