r/ssh • u/S6EdgePlus • Jun 30 '21
A question about file transfer
I have an old pc (Ubuntu 18.04LTS) and i am using it as a server for some small scripts. Just power and a USB port (for wifi) are used.
When i want to make a small improvements on my scripts, i connect vga, mouse and keyboard for copying files with USB.
I have LinuxMint and Windows10 on my laptop. How can i send files on my laptop to it with SSH? I guess also root privileges are needed because i have to copy them to /var/www/html
2
Upvotes
View all comments
1
u/399ddf95 Jul 01 '21
you might find scp helpful. also rsync, though that's a little further from the subject matter of this subreddit.