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

preview_player
Показать описание
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!

*LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!*

*🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT*
Commemorate the largest outage in history with the latest addition to the LLTV merch shop.

*🎓 BRAND NEW UDEMY COURSES AVAILABLE!*
Check out my new courses on Udemy and learn something new!

*🐧 SUPPORT LINUX LEARNING!*
_Note: Royalties and/or commission is earned from each of the above links_

*⏰ TIME CODES*
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*

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ 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
Рекомендации по теме
Комментарии
Автор

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

SwiatLinuksa
Автор

hi sir i am from india.learn a lot about linux from ur channel.namaste from india "linux GURU"🙏🏻🙏🏻🙏🏻

vallabh
Автор

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.

SB-qmwg
Автор

'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'.

kdg
Автор

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. 😂

Carhill
Автор

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!

ladreamin
Автор

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.

jacobsoby
Автор

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

christopherjackson
Автор

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.

DDBAA
Автор

very nice! it would be helpfull to show how we can start a server in another machine too

ngrljbi
Автор

Great tool supported by the SCP Foundation.

NeUrOmAnCeRAI
Автор

Was hoping there was talks about permissions both in the local server and remote

dmac
Автор

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.

michaelharbuck
Автор

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

LoayAl-Said-eysu
Автор

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.

PaPaTheGMan
Автор

Nice shirt! impressive, most impressive.

kencreten
Автор

Can you relay the part about not memorizing everything to COMPTIA please?

joelwalberg
Автор

Can you do all this copying via GUI from one computer to another, including servers?

WalterPetrovic
Автор

Beware: if your login script (.bashrc etc) writes any text to the terminal, scp will fail with crpytic behavior.

jeremiahbullfrog
Автор

Pretty sure it stands for secure containe protect 😂😂😂

dominick