Wait for ssh action