rm temporary file when exit
Add remote host support and ssh connection timeout option