Download file from remote SSH-Server using Terminal

1970 + 1666047333
# Download from user directory on remote server using Terminal:
scp -P 22 user@1.1.1.1:filetodownload.txt ~/Downloads/

# Download from different directory on the server:
scp -P 22 user@1.1.1.1:"/rootdirectory/filetodownload.txt" ~/Downloads/

More posts