Linux Tip | Using SFTP and Automating Rsync

  Рет қаралды 24,475

Joe Collins

Joe Collins

Күн бұрын

A closer look at the SFTP program and some tips on using Rsync in scripts to sync data between machines.
Check out www.ezeelinux.com for more about Linux.

Пікірлер: 37
@EarnestRedwoodLINUXMASTER
@EarnestRedwoodLINUXMASTER 7 жыл бұрын
Joe I want to take this time again to thank you, for all that you do. You are really helping me on the road with Linux. This is good stuff.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Thank you! :)
@daves6349
@daves6349 7 жыл бұрын
Love your videos, Joe. I always learn something new and feel less & less like a Linux noob after watching them.
@spaceiswater6539
@spaceiswater6539 4 жыл бұрын
W0W Joe, I know I have said it before but your videos really are simply the best. I have been trying to learn this for ages and you break it down so nice and simple to understand. Thank you so much buddy, please don't ever stop making your videos as I have to say I have learned more from you than anyone on KZbin.
@EzeeLinux
@EzeeLinux 4 жыл бұрын
Glad it helped. :)
@vladimirmilenkovic6340
@vladimirmilenkovic6340 7 жыл бұрын
Great script Joe. Thanks for sharing this with us.
@anilvenkatesh6
@anilvenkatesh6 6 жыл бұрын
Great Job with rsync cmd. Thanks Joe !!
@erayaltunco
@erayaltunco 7 жыл бұрын
Nice video, another great job keep them coming.
@papperme
@papperme 6 жыл бұрын
Thanks for great content. Never used it, but I will ...
@nicoladellino8124
@nicoladellino8124 5 жыл бұрын
Nice video Joe
@DouggieDinosaur
@DouggieDinosaur 6 жыл бұрын
sybcit TM (c) PATENT PENDING @16:44 - Liked - subscribed !! ^_^
@jeffreytaffuri2253
@jeffreytaffuri2253 7 жыл бұрын
Joe you're the best! I don't know if I wasn't paying attention but what about using Thunar or other GUI. I do it all the time and it could help terminal haters.
@spaceiswater6539
@spaceiswater6539 4 жыл бұрын
I agree Joe is totally awesome.
@jonmckeever
@jonmckeever 3 жыл бұрын
Hi Joe, Thanks for the info. I know this is an older video, but I'm hoping you can clear something up for me. I'm trying to sync only the newer files from a vendor's sftp server to my own server, so I was looking at Rsync as an option. What I did not see in your video was how to use RSYNC for SFTP, as you only copied between local servers in the video. Can you explain how you would alter your line to sftp to a remote server using a username and shared key authentication, and then how I would subsequently sync those files from their server to mine? I need to do this as a cron job. Thanks
@EzeeLinux
@EzeeLinux 3 жыл бұрын
If SSH is set up, rsync assumes you want to send data to a remote machine as long as you address it. So, rsync -avz -delete Documents/ 192,168.0.111:Documents would sync those two directories if you had an account on the remote machine with the same username and SSH could login automatically with keys... If you need to send to another account you have access to it would be like 'other-account@192.168.0.111:Destination-directory/' and if you needed to confirm a password it would stoop and ask for it. :)
@Allocated_Brain
@Allocated_Brain 7 жыл бұрын
you're welcome for me clicking on this video
@keteremillpario
@keteremillpario 5 жыл бұрын
Do I need access though SSH to use rsync ? I tried but have an error (And I don't get when it ask you for the password of the server). Thanks in advance, great tutorial.
@EzeeLinux
@EzeeLinux 5 жыл бұрын
Yes. SSH works with rxync over a network. The server must be running an SSH server and you must have an account on that machine. :)
@keteremillpario
@keteremillpario 5 жыл бұрын
@@EzeeLinux Thank you so much for this answer, I didn't understand why it doesn't work. Unfortunatelly when I got my hosting I didn't know that in order to use GIT or other services I needed ssh access. Anyway I found that I could use lfps to make some sort of Sync with the server without ssh access.
@Gnohio
@Gnohio 7 жыл бұрын
If I and a trusted friend would want to easily share files between our computers via remote log in on eachothers computers without using third party uploading services or using bittorrent, would all we need is properly configured SSH and permissions?
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Just SSH. Cool, Huh?
@Gnohio
@Gnohio 7 жыл бұрын
Do you happen to have a video(s) or can direct me to documentation which details such a process? If not then thanks for answering my previous question. :]
@EzeeLinux
@EzeeLinux 7 жыл бұрын
What Linux distribution are you using? I can send you info on how to get it going but it would help to know. :)
@Gnohio
@Gnohio 7 жыл бұрын
Linux Lite 2.8, which im sure is an Ubuntu derivative.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
help.ubuntu.com/community/SSH/OpenSSH/Configuring
@AlaKernel
@AlaKernel 7 жыл бұрын
if there is can you do a video on how to setup a SFTP server from a GUI . please . I am a network admin and a student in my highschool and I am in the process of setting up an ftp server for the students and teachers and I want to use Linux and an alternative for Filezilla Server will be super great .
@EzeeLinux
@EzeeLinux 7 жыл бұрын
There is no GUI, there is no setup... SFTP is part of SSH. FTP is different. You'd have to install and setup an FTP server to share files with standard FTP. :)
@durohrekommentierer6337
@durohrekommentierer6337 7 жыл бұрын
Choose your protocol wisely please :/. FTP is an old protocol and not encrypted by default. I'd rather use something different, even in LAN.
7 жыл бұрын
They are forward slashes not back slashes!
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Slip of the tongue... The first Nitpicker Award goes to you. :)
@ndlor1
@ndlor1 7 жыл бұрын
Awwww... you beat me to it! I see this quite often. People seem to call forward slashes (/) back slashes (\). Other than that, good video Joe Collins!
@nenadcvele
@nenadcvele 7 жыл бұрын
Hmm, new mic? :)
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Being quiet on this one. The rest of the house was still asleep.
@zanaris-falador
@zanaris-falador 7 жыл бұрын
This much security for transferring files between computers/servers on the same subnet is time wasted. It's all secure between boxes on the same network unless you have unknown ports open in your firewall. Then it doesn't matter what you do internally, it's a free for all anyway. If you want to add security and get more bang for your time, initiate any firewall service and be sure all your ports are closed in your firewall/router setup because all this SFTP jargon will be pointless if your perimeter is open. Just saying.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
You can never have too much security.
@spaceiswater6539
@spaceiswater6539 4 жыл бұрын
@@EzeeLinux I agree security comes first, can never have enough security.
Linux Tip | How to Customize Your BASH Environment
35:31
Joe Collins
Рет қаралды 78 М.
Linux Tip | Moving to a New /home
30:35
Joe Collins
Рет қаралды 29 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 25 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 21 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,7 МЛН
Linux - Backup your data the quick and efficient way with RSYNC
12:15
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
FTP (File Transfer Protocol), SFTP, TFTP Explained.
7:54
PowerCert Animated Videos
Рет қаралды 1,4 МЛН
Malware Development: Processes, Threads, and Handles
31:29
Linux Tip | Use a Script to Make Re-installing Easier
34:54
Joe Collins
Рет қаралды 24 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 131 М.
Linux Tip | How To Automate Tasks using Cron
38:44
Joe Collins
Рет қаралды 48 М.
Linux Tip | Create and Restore Backups
23:22
Joe Collins
Рет қаралды 89 М.
Рука застряла в заборе
0:27
RICARDO
Рет қаралды 1,5 МЛН
Как красиво снять полет #marim #shortsvideo
0:15
ТАТУИРОВКА прозрачной КРАСКОЙ
0:26
Виктор Лодин
Рет қаралды 5 МЛН
Wonderful street food making skill
0:25
Fruit University
Рет қаралды 34 МЛН
телега - hahalivars #семейнаяжизнь
0:36
HAHALIVARS
Рет қаралды 3,7 МЛН