Added terminate
Remote exec works by passing SSH key