Use PROMPT_COMMAND in SSHRC