Implement Server#ssh_exec.