If you can ssh in, it sounds simply as if luci is not running. Try to run /etc/init.d/lighttpd start and see if the GUI comes up then.