Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»How To»How to Copy File from Local to Remote Server Easily
    How To

    How to Copy File from Local to Remote Server Easily

    Rajesh ShivamBy Rajesh ShivamJune 11, 2021No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Copy File from Local to Remote Server
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Copy File from Local to Remote Server

    If you are using any VPS or Cloud server, most often you need to copy your files from local to remote. You can transfer your files to remote or from remote to local using SSH(Secure Shell) protocol to access your server. SSH has an awesome scp utility for transferring files to remote servers or vice-versa. You can use sftp and rsync utility also to send over the files to the server. In this tutorial, I am going to explain how to copy file from local to remote server. So, let’s get started.

    Page Contents

    • Prerequisites
    • Copy File from Local to Remote Server 
    • Copy File from Remote to Local Server
    • Conclusion

    Prerequisites

    • Server IP address
    • Server user name
    • SSK key or password

    Copy File from Local to Remote Server 

    SCP is the easiest way to transfer or copying the files between remote and local. Let’s have a look at the basic scp command.

    $ scp samplefile.txt [email protected]_server:/remote_directory/

    Above command will copy the samplefile.txt to the remote_server location remote_directory location. When you run above command it will ask for password, if you haven’t added your public key to the server for SSH.

    Copy File from Remote to Local Server

    To copy files from the server to the local system, use following command.

    $ scp [email protected]_server:/remote_directory/samplefile.txt /local_directory/

    Above command will copy the samplefile.txt from remote_server location local_directory location.

    Read more: How to Upload File to AWS EC2 Instance

    Conclusion

    In this article, you have learned to copy file from local to remote server as well as remote to local.  If you have any doubts feel free to contact me, I will definitely try to help you. Also, you can join our elite Facebook group to get direct help from me. If you like this tutorial, please share this article on your social media handle.

    Copy File from Local to Remote Server copy files to server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to Install PyCharm on Ubuntu 20.04
    Next Article How to Install Eclipse in Ubuntu Easily
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    How To

    How to Install Microsoft Teams on Ubuntu 22.04 Easily

    February 22, 2023
    Read More
    How To

    What is Elastic IP and Its Pricing in AWS

    February 22, 2023
    Read More
    How To

    How to Convert PEM to PPK file [Step by Step Guide]

    February 22, 2023
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version