I have a port forwading command which, when I run it in Windows Command Prompt, responds with a password input request.
I need a way to send password along with the command when invoked from a batch file.
e.g.
C:\Users\smith>ssh -f 10.92.21.183 -L 5432:127.0.0.1:5432 -N -l admapp
admapp@10.92.21.183's password:
PS. I tried below links but not working: