You’d better do it in putty. Just copy and paste to the terminal.