Transferring files with the scp Command (Linux Crash Course Series)

  Рет қаралды 28,232

Learn Linux TV

Learn Linux TV

Күн бұрын

The Linux Crash Course Series - Teaching you a valuable Linux command/skill/topic one video at a time! This time around, our journey takes us to the Secure Copy (scp) command, which you can use to copy files from one Linux instance to another via SSH. You'll learn everything you need to know in order to get started with scp so don't miss this video!
- Set up your own cloud server with Akamai's Connected Cloud (Sponsor) ➜ learnlinux.link/akamai
Learn Linux TV - Your Home For Linux-Related Fun and Learning!
Brand LPI Linux Essentials Course Available
Now just $44.99 for a limited time! ➜ learnlinux.link/lpi-course
➜ learnlinux.link/lpi-course
Check out the Linux Shop
In the official shop, you'll find Shirts, hats, stickers, bags and more!
➜ merch.learnlinux.tv
5% discount on LPI exam vouchers
After you finish Jay's new course, get 5% off an LPI exam voucher here:
➜ learnlinux.link/lpi-voucher
Become a Patron
Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
➜ learnlinux.link/patron
Become a Channel Member
Show your support for Learn Linux TV here on KZbin and get access to exclusive perks!
➜ learnlinux.link/member
Mastering Ubuntu Server: 4th Edition
Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
➜ ubuntuserverbook.com
Linux Gear and Kits
Check out Jay's choice of hardware products, audio/video equipment, and more.
➜ learnlinux.link/amazon
Grab an awesome Pi-powered KVM
Support Learn Linux TV and grab yourself a TinyPilot KVM here:
➜ learnlinux.link/tinypilot
Note: Royalties and/or commission is earned from each of the above links
-- Timecodes --
00:00 - Intro
01:35 - Set up your own Linux server with Akamai Connected Cloud (sponsor)
02:53 - The scp command is usually preinstalled
03:48 - with scp, file transfers are performed via SSH
04:13 - Prerequisite - a Linux server (to copy files to)
05:11 - Basic usage of the scp command on Linux
08:15 - Using scp in the opposite direction (transfer from remote to local)
09:08 - Quick SSH tip - execute a single command against a server
11:31 - Simplifying the scp command
14:13 - Transferring an entire directory with scp (recursive option)
16:32 - Transferring files with scp while also retaining modification times/dates
17:54 - How to use scp with a non-standard SSH port
Full Courses from Learn Linux TV
• Linux Crash Course series ➜ linux.video/cc
• Learn how to exit use tmux ➜ linux.video/tmux
• Learn how to use vim ➜ linux.video/vim
• Bash Scripting Series ➜ linux.video/bash
• Proxmox VE Cluster Full Course ➜ linux.video/pve
• Learn Ansible ➜ linux.video/ansible
Linux-related Podcasts
• Enterprise Linux Security ➜ enterpriselinuxsecurity.show
• The Homelab Show ➜ thehomelab.show
Official *Learn Linux TV on the Web*
• Main site ➜ www.learnlinux.tv
• Community ➜ community.learnlinux.tv
Content Ethics
• The following article covers the rules and guidelines Learn Linux TV abides by ➜ www.learnlinux.tv/content-ethics
Disclaimer
LearnLinuxTV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of the content and information that's being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.
#Linux #devops #linuxcommands

Пікірлер: 25
@SwiatLinuksa
@SwiatLinuksa Жыл бұрын
Near 5 years I'm looking your channel.. and you're Jay inspired me to start 4 years ago Polish Linux channel.. thanks for everything you doing for Linux community! Great job
@jacobsoby3910
@jacobsoby3910 Жыл бұрын
I'm looking forward to your rsync video as well. Very nice into, still watching... I've used scp in the past, never rsync though.
@SB-qm5wg
@SB-qm5wg 11 ай бұрын
An extra. The one difference between scp and ssh is the port flag. For scp it's uppercase -P for port and ssh it's lower case -p . I get those mixed up sometimes as I use non-standard service ports.
@kdg1955
@kdg1955 Жыл бұрын
'scp' is part of the openssh package (package openssh-clients on dnf-distribution). So if you have 'ssh' then you probably have 'scp' too. Package openssh provides also 'sftp'.
@vallabh81
@vallabh81 Жыл бұрын
hi sir i am from india.learn a lot about linux from ur channel.namaste from india "linux GURU"🙏🏻🙏🏻🙏🏻
@BigelowInventions
@BigelowInventions 16 күн бұрын
Great tutorial!
@Carhill
@Carhill Жыл бұрын
Story time: Few weeks back I had to rip an ISO of a Windows disc, but the machines were locked down. The machines recently had VMWare installed... where I'd installed Kubuntu. I passed the CD through to Kubuntu where I could no permissions issues, grabbed a reputable tool to turn it into an ISO. But, then was struggling to get it out of there... So I used SCP from Powershell in the host machine to grab it from the VM. Quite convoluted, but it worked. 😂
@christopherjackson2157
@christopherjackson2157 Жыл бұрын
Looking forward to a new rsync video. I use the tool, but I feel like there's lots of useful functionality in it that I'm unaware of
@HadToChangeMyName_YoutubeSucks
@HadToChangeMyName_YoutubeSucks Жыл бұрын
Is anyone really aware of all that rsync can do? Fantastic tool, but just man rsync (1) is over 50 pages long..
@tanuj05
@tanuj05 7 ай бұрын
Nice and helpful video !
@LoayAl-Said-ey2su
@LoayAl-Said-ey2su 2 ай бұрын
I do appreciate you work Thanks alot. Take some time to think about your impact and how much you leave and how much you helped, Thanks Loay, from Egypt
@PaPaTheGMan1215
@PaPaTheGMan1215 11 ай бұрын
Thanks, your videos are always well done and helpful. Can you describe how to use this in an unattended script (i.e., cron) when the target server needs a password for access.
@user-ng8rl3jb1i
@user-ng8rl3jb1i 4 ай бұрын
very nice! it would be helpfull to show how we can start a server in another machine too
@dmac5678
@dmac5678 Ай бұрын
Was hoping there was talks about permissions both in the local server and remote
@ladreamin5008
@ladreamin5008 7 ай бұрын
Thanks to you and your videos I was able to copy files from a Rapberry Pi file system over to a bootable Batocera USB and it worked perfectly thank you for your videos!
@NeUrOmAnCeRAI
@NeUrOmAnCeRAI 11 ай бұрын
Great tool supported by the SCP Foundation.
@DDBAA24
@DDBAA24 Жыл бұрын
I just stared using 'scp -rp' more often, and 'pigz'. My go-to has been rsync for a long time. I like pigz because it removes the original files while writing a .tar.gz archive to another location. When low on disk space its the better option to free up space, IF you have barely any space left to create the archive in your pwd.
@michaelharbuck3314
@michaelharbuck3314 Жыл бұрын
I use 'croc' on my inside network. Its a neat little program. I was able to compile it from source on my MangoPi RISC-V board thing. It worked. pretty cool. ubuntu server runs pretty good on it for a single core. hosts up static web sites no prob.
@WalterPetrovic
@WalterPetrovic 3 ай бұрын
Can you do all this copying via GUI from one computer to another, including servers?
@diegonayalazo
@diegonayalazo 8 ай бұрын
Thanks
@joelwalberg9802
@joelwalberg9802 4 ай бұрын
Can you relay the part about not memorizing everything to COMPTIA please?
@kencreten7308
@kencreten7308 Жыл бұрын
Nice shirt! impressive, most impressive.
@jeremiahbullfrog9288
@jeremiahbullfrog9288 Жыл бұрын
Beware: if your login script (.bashrc etc) writes any text to the terminal, scp will fail with crpytic behavior.
@dominick253
@dominick253 Жыл бұрын
Pretty sure it stands for secure containe protect 😂😂😂
@yensteel
@yensteel Жыл бұрын
You deserve the SCP 999! Also, this channel is SCP 5094 in the flesh 👍
Demystifying the Top Command in Linux | Linux Crash Course Series
27:08
scp command - SCP to Securely Transfer Files/Folders in Linux
10:15
ProgrammingKnowledge
Рет қаралды 284 М.
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 47 МЛН
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 76 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 74 МЛН
How to Use rsync to Reliably Copy Files Fast (many examples)
22:06
Tony Teaches Tech
Рет қаралды 27 М.
How To Use The SCP Command to Copy a File From  Windows 11 to Remote Machine
12:12
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,3 МЛН
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Рет қаралды 391 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,9 МЛН
как спасти усилитель?
0:35
KS Customs
Рет қаралды 506 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 2,6 МЛН
Latest Nokia Mobile Phone
0:42
Tech Official
Рет қаралды 491 М.
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 12 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11