Vigyata.AI
Is this your channel?

How to Copy Files From Local PC to Remote Server or From Remote Server to Local PC Using scp Command

6.2K views· 13 likes· 4:22· Mar 9, 2024

🛍️ Products Mentioned (9)

In this video, I'll walk you through the essential steps of using the scp command to seamlessly transfer files between your local PC and a remote server or vice versa. This tutorial is perfect for Linux enthusiasts looking to enhance their file management skills or server administrators seeking efficient ways to handle data transfer. ⭐Offers⭐ 🎁Save One Time Setup Fee on Contabo: https://bit.ly/contabonosetupfee 🎁Get up to 50% off on OVHCloud: https://bit.ly/ovh50off 🎁Claim $200 Server Credits on DigitalOcean: https://bit.ly/3MpuVaq 🎁Claim $250 Server Credits on Vultr: https://bit.ly/vultrfree150 🎁Claim $100 Server Credits on Linode: https://bit.ly/linodefree100 🎁Claim €20 Free Credits on Hetzner: https://bit.ly/3Uup6bE 👉How to Copy Files From Local PC to Remote Server Using pscp: https://youtu.be/2uX9Ku6_T9U ✅For any further queries or suggestions, feel free to message or email on: 👉Email: hello@technicalsahil.com ✅You can follow and contact me on social media as well: 👉Medium: http://bit.ly/3TXwcVj 👉Quora: https://bit.ly/40R8dtn 👉Github: http://bit.ly/3TZdnBk #SCP #SecureCopy #TransferFiles #SSH #Linux

About This Video

Hello everyone, in this video I showed you a very practical thing: how to copy a file (or files) from your local PC to a remote Linux server, and also from the remote server back to your local PC—using the scp command. The main point is you don’t need FileZilla or any extra tool if you already have SSH access. I demonstrated it in a simple, step-by-step way so you can follow the same commands on your own setup. First, I logged in to my server as root (I used PuTTY for SSH login), checked my present working directory, and confirmed the file wasn’t there. Then from Windows Command Prompt, I ran scp with the local file path (from my Desktop) and the remote destination (root@server-ip:/root). After entering the password, the file got copied and I verified it on the server. Next, I created a new file on the server (file.txt) and used scp in reverse: remote source first, then the local destination path (C:\Users\your-username). The takeaway is simple: scp is fast, secure (SSH-based), and perfect for server admins and Linux users who want clean, command-line file transfers.

Frequently Asked Questions

🎬 More from Technical Sahil