Linux Tip | Using SFTP and Automating Rsync

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 37

  • @EarnestRedwoodLINUXMASTER
    @EarnestRedwoodLINUXMASTER 7 ปีที่แล้ว +5

    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 ปีที่แล้ว +1

      Thank you! :)

  • @daves6349
    @daves6349 7 ปีที่แล้ว +4

    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 TH-cam.

    • @EzeeLinux
      @EzeeLinux  4 ปีที่แล้ว

      Glad it helped. :)

  • @vladimirmilenkovic6340
    @vladimirmilenkovic6340 7 ปีที่แล้ว +1

    Great script Joe. Thanks for sharing this with us.

  • @Anilsree-06
    @Anilsree-06 6 ปีที่แล้ว

    Great Job with rsync cmd. Thanks Joe !!

  • @erayaltunco
    @erayaltunco 7 ปีที่แล้ว +1

    Nice video, another great job keep them coming.

  • @jeffreytaffuri2253
    @jeffreytaffuri2253 7 ปีที่แล้ว +1

    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.

  • @papperme
    @papperme 7 ปีที่แล้ว

    Thanks for great content. Never used it, but I will ...

  • @nicoladellino8124
    @nicoladellino8124 6 ปีที่แล้ว

    Nice video Joe

  • @jonmckeever
    @jonmckeever 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +1

      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. :)

  • @DouggieDinosaur
    @DouggieDinosaur 6 ปีที่แล้ว

    sybcit TM (c) PATENT PENDING @16:44 - Liked - subscribed !! ^_^

  • @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 ปีที่แล้ว +1

      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.

  • @Allocated_Brain
    @Allocated_Brain 7 ปีที่แล้ว

    you're welcome for me clicking on this video

  • @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

  •  7 ปีที่แล้ว +3

    They are forward slashes not back slashes!

    • @EzeeLinux
      @EzeeLinux  7 ปีที่แล้ว +6

      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!

  • @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.

  • @nenadcvele
    @nenadcvele 7 ปีที่แล้ว

    Hmm, new mic? :)

    • @EzeeLinux
      @EzeeLinux  7 ปีที่แล้ว +2

      Being quiet on this one. The rest of the house was still asleep.

  • @zanaris-falador
    @zanaris-falador 7 ปีที่แล้ว +2

    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 ปีที่แล้ว +6

      You can never have too much security.

    • @spaceiswater6539
      @spaceiswater6539 4 ปีที่แล้ว

      @@EzeeLinux I agree security comes first, can never have enough security.