add remain command for build rsa