Actually, in production, we will tie it to an obscure port. Since I am currently testing all of this locally, there's no reason not to use the ephemeral port.
UPDATE: Were you asking if that was what this program does? Yes, amongst many other functions, it will establish a non-interactive SSH/SCP session.