Code: Select all
plink.exe -pw mypasswd hockey@192.168.1.103 grep --recursive -n '// TODO:' /var/www/proggie/*Whenever I try the following now, plink seems to want to ask who I want to login as, yet I have supplied those details on the CLI...
Why would this happen?
I've successfully logged in via SSH with both my IDE and WinSCP so I know that server is working...
I'm thinking maybe the keys that are cached somehow don't reflect that what I'm passing in at the command line and thus causing me to login again??? How can I flush those cached keys and maybe login through plink first?
Any other reasons?
The syntax worked fine just two days ago before re-installing...
Cheers