I use this command from win7 to suspend my ubuntu server
plink -ssh -t -pw peter peter@myubuntuserver sudo pm-suspend
When i run this cmd from command line in win7, it still requires to input my password that i use in -pw option
Like this
C:\putty>plink -ssh -t -pw peter peter@myubuntuserver sudo pm-suspend
[sudo] password for peter:
How can i run this command whitout input password again? i need make batch file from this command Thanks