Skip to main content
15 events
when toggle format what by license comment
Oct 27, 2022 at 14:55 comment added Piotr Kula binary data should be uuencoded see answer below
Jun 6, 2019 at 19:19 comment added Florian F It works fine with binary data. I'm doing this with tgz files all the time :)
Jun 6, 2019 at 17:38 comment added Student This command is cool! But what if I want to send a binary file (i.e. non-text file)?
Sep 24, 2018 at 23:27 comment added Florian F @user7000 if the client (behind the firewall) can connect to the server via ssh it will work. I posted 2 examples, one in each direction... But if it's your home server you probably won't be running a constrained ssh setup without sftp support. So just use your favorite sftp client. Or even use something like nextcloud to take care of synchronization. That should also save you from your cd'ing pain.
Apr 2, 2018 at 0:43 comment added Sridhar Sarnobat The reason I'm not upvoting this is because it won't work if the client machine is behind a shared router (like a corporate network). Supposed I'm on a work computer and I've ssh'd into my home server. How do I copy a file to my work computer having gone through the pains of cd'ing through complex directories with spaces and special characters?
Oct 6, 2017 at 19:20 history edited Florian F CC BY-SA 3.0
be a bit more specific, add link to tutorial
Sep 21, 2017 at 0:33 comment added Florian F no it's not a typo, - means stdin in that case
Jul 6, 2017 at 15:58 comment added max4ever there is a typo "cat ->" should be "cat >"
May 15, 2017 at 16:37 comment added Benjamin Actually, this solution does not work in my case. With a tunnel created from Windows to Linux, you start in putty, not a terminal. This method is exactly what I wanted, but I can't use it. Annoyed.
Apr 5, 2017 at 2:11 comment added llekn Yup... This is what the OP asked for, and what I was looking for when I was looking for the answer to this question.
Jan 26, 2017 at 19:09 comment added Peter Agreed! This is, by far, the solution that fits most the OP's demands
May 28, 2016 at 3:31 comment added JL Peyret Yeah! Might be very lo-tech, but it also works right away. And sometimes that's all you need, rather than advice about installing package xyz that does it better.
Mar 9, 2016 at 10:37 comment added Namek Brilliant! mc is the quickest to use.
Jan 13, 2016 at 21:13 comment added Auspex Honestly, I don't understand why this isn't upvoted. OP asked for a solution without scp. Sometimes, particularly as in my case where I'm ssh'ing into a very crippled ISP-provided router, I don't have sftp, I don't have scp, and even ftp is badly broken. I knew I could do this, I just came here to make sure my syntax was right.
Jan 6, 2015 at 22:10 history answered Florian F CC BY-SA 3.0