Welcome to LinuxQuestions.
Wheezy when end of life in 2016 and therefore the repositories have been moved to the archives (
http://archive.debian.org/debian/). Upgrades are risky and trying a remote upgrade jumping 3 versions is really not recommended in my opinion. If you are connecting to the remote computer using ssh there is a good possibility you will be disconnected. I think a fresh install is the best plan.