Trying to retrieve CE 18.104.22.168 directly via ssh however wget http://www.magentocommerce.com/downloads/assets/22.214.171.124/magento-126.96.36.199.tar.gz is returning a not found
there is no direct link unless you login to website or repository.
you have 3 options:
1- login to magento account and go to downloads page.
2- using your magento ID and downloads token call this from the server:
3- you can use this script to configure empty server: