To upload files read the article: Upload file on Linux Ubuntu Server using SCPĬhange file / directory permission using Chmod and Chown in Ubuntu Linux Increase memory (RAM) in Ubuntu - linux by using swap file Wireless Transmission and Microwave Transmission in Networking Basic concept of Router with its function and methods Connecting Devices (Repeaters, Bridges, Routers, Gateways) Backbone Networks and its type Network security and Security Threats Baseband and Broadband network Wide Area Network (WAN) and technologies Check Server Configuration - Memory, Hard Disc, Processor in Ubuntu Linux Find the Process and PID using the Specific port in Ubuntu Proxy server and their use with advantage and disadvantage Add PHP website in Nginx Server in Ubuntu Create pem private key and Connect Google Cloud Instance form terminal Upload file on Linux Ubuntu Server using SCP Download file on Linux Ubuntu Server using SCP Solved issue 413 Request Entity Too Large in Nginx Ubuntu Server Install and Allow Postgres in Google Cloud Instance to access from anywhere local machine Get directory sizes in Ubuntu Copy file into docker container instance Deploy Nextjs app with Nginx and PM2 on Linux - Ubuntu Check folder (directory) wise disk space usages in Linux Ubuntu Please enable JavaScript to view the comments powered by Disqus.Note: You will receive a warning message that all data on the selected USB will be destroyed. If you have any other situation to download file on the Linux server then comment us the situation. for the local address to locate the working directory Download in the current directory local computer scp -r -P 9001 -i ~/Desktop/server.pem. Here server.pem is my Private Key file to authenticate the server.ĥ.
Scp -r -P 9001 -i ~/Desktop/server.pem ~/Desktop/myfiles The server has a Private Key File like pem or ppk to connect Server SSH have different port scp -r -P 9001 ~/Desktop/myfilesĤ. Here myfiles is a directory and I have added -r for recursive file transfer.ģ. Download a Directory or Folder scp -r ~/Desktop/myfiles Here you will be asked for the password of the server.Ģ. Now take some different type of examples for different situations to upload file on the server. The basic command structure is as follow: scp Here we are providing all the way to transfer files from the Linux server to Local Computer. SCPstands for Secure copy protocol, that is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. In linux server to download files either you use ftp or scp.
Sometimes you need to take backup of files or need to download code to modify locally. Linux server is very efficient to manage files and processes. Download file on Linux Ubuntu Server using SCP