I'd like to basically pipe a wget command to a file on a remote server over SSH. How can I do this? I know I could simply ssh into the server and have it download the file, but I'd much rather use the local machine to download it and send it.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|
If I understand your question correctly (it's not clear what machine is supposed to do what), you are logged into some machine
Another approach is to mount the remote server's filesystem over SSH, with sshfs. This is too much hassle for a once-off need, but convenient if you do that sort of things often.
|
|||
|