вторник, 9 март 2021 г.

How to send files over ssh

To send a file over ssh from your computer to a server, you use the following command

 rsync -avc local/path/to/file user@server:path/on/server

Where you shouldn't be connected with ssh (it's gonna ask you for your password).

It seems silly to do it like this, but for some reasons, my Dolphin doesn't like to connect with network places. So I have to do everything from konsole.