# copy the [/home/fedora/test.txt] on remote server [www.srv.world] to the local

[fedora@dlp ~]$

scp fedora@www.srv.world:/home/fedora/test.txt ./test.txt

fedora@prox.srv.world's password:

test.txt 100% 10 0.0KB/s 00:00

[2]

It's example to use SFTP (SSH File Transfer Protocol). SFTP server function is enabled by default but if not,
enable it to add the line [Subsystem sftp /usr/libexec/openssh/sftp-server] in [/etc/ssh/sshd_config].