Hi tried above logic "client.RunCommand("echo \"userpwd\" | sudo -S command").Execute()"
but in our case we don't know the password for security reasons, and we use secured key to login.
so is there any workaround for that ?
but in our case we don't know the password for security reasons, and we use secured key to login.
so is there any workaround for that ?