Hacker News new | ask | show | jobs
by bengalister 1575 days ago
You probably know it but you don't need to copy and paste in you terminal, you can use pipes. ssh myuser@myip "cat > myfile" < myfile

and use tar to stdout, untar from stdin to transfer directories. It can even be compressed while archiving or at ssh level.

or rsync over ssh.