I am using plink to execute a command to remote server through openSSH, The command gets successfully executed on the remote server but on the localhost Task manager still shows plink and cmd.exe. How do I terminate these plink and cmd.exe as soon as the command is executed in the server. I am using java in windows.
I am using:
c:\\plink.exe -pw passwd userId@RemoteServerName
Any help is appreciated. Thanks