So, it appears that you are connecting via ssh, have you checked so that it does not get stuck on the ssh authentication? I don't see you specifying your ssh key file with the -i flag.

Btw, why...