Download through SSH

Ever needed a server to directly download a file instead of through your pc? Well if you're running windows and too lazy to ssh every time then here you go! I couldn’t find anything online similar to this, and it only works from windows to Linux. Create a batch file and paste this into it. Then if you want to create a shortcut and add a key bind to it for easy access!

If you need to learn how to ssh natively from windows, click here.

title Remote Download made by AwesomenessZ
echo off
cls
set /p wget=Download Link:
ssh (ip adress) “cd /(download location)/ && wget %wget%
”echo Made by AwesomenessZ

If you want to be able to auto login to the ssh session without using a password, try this tutorial.