So I follow this tutorial to upgrade ubuntu 14.04 to ubuntu 16.04 in aws. ssh disconnects itself after 60s. I think the upgrade stuck and waiting for user input. e.g. 
I ssh it back and never see the input screen. I do sudo apt-get update and it is not able to lock.
Is it a way to resolve this. Will restart the machine cause issues?
apt-get -f install? – daltonfury42 Jul 15 '16 at 6:18