Fixes ssh tunnel command setup. Also fixes #3671

This patch has two fixes:

1) The ssh tunnel needs to be setup using the public hostname, but the forwarded port needs to connect to the private ip-address as printed by the julia  worker.

2) The "-N" option of the ssh tunnel was causing ssh tunnel processes to hang around after the julia process exited. This has been changed to "sleep 60". Fixes #3671