Man sentenced to prison during remote hearing