ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    SFTP Server

    Scheduled Pinned Locked Moved IT Discussion
    24 Posts 10 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @brandon220
      last edited by

      @brandon220 said in SFTP Server:

      I have many instances of Nextcloud running but have never used SFTP with it.

      Not sure how you would. What port would it be on?

      brandon220B 1 Reply Last reply Reply Quote 0
      • brandon220B
        brandon220 @scottalanmiller
        last edited by

        @scottalanmiller No Idea. Always use 443 from browser. Don't use webdav either.

        1 Reply Last reply Reply Quote 0
        • Emad RE
          Emad R @brandon220
          last edited by Emad R

          @brandon220

          Are you sure your not confusing SFTP with FTPS ?

          Cause if your setting SFTP, it comes by default with SSH server in any modern Linux distro out of the box, and you should use WinSCP with it as client for Windows.

          As for transferring files, within the Linux OS you choose, you can simply rsync (similar to robocopy on windows) between servers the files using this syntax:

          rsync -avuz /var/www/example.com/index.html [email protected]:/var/www/example.com/

          This will copy the index file from the current linux os to another linux os who has the following IP
          108.175.12.239

          a = archive mode
          v = increase verbose
          u = skip files that are newer on the receiver
          z = compress file data during the transfer

          And you can schedule this in linux cron

          And SFTP is amazing, so as WebDAV. But i would prefer SFTP all the time.

          brandon220B 1 Reply Last reply Reply Quote 2
          • brandon220B
            brandon220 @Emad R
            last edited by

            @emad-r They are asking for SFTP which will definitely be easy. We already use WinSCP and have no issues. Just second guessing myself and looking for some input from others.

            StrongBadS 1 Reply Last reply Reply Quote 0
            • jmooreJ
              jmoore
              last edited by

              WinSCP seems good the times I have used it. Use a custom port though for more security

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @jmoore
                last edited by

                @jmoore said in SFTP Server:

                WinSCP seems good the times I have used it. Use a custom port though for more security

                That is not how that works.

                You can use an uncommon port simply to keep fewer bots from hitting your logs, but there is no security there.

                1 Reply Last reply Reply Quote 4
                • A
                  Alex Sage @brandon220
                  last edited by Alex Sage

                  @brandon220 I would restrict access to the server to only the two entities using the firewall.

                  brandon220B 1 Reply Last reply Reply Quote 0
                  • StrongBadS
                    StrongBad @brandon220
                    last edited by

                    @brandon220 said in SFTP Server:

                    @emad-r They are asking for SFTP which will definitely be easy. We already use WinSCP and have no issues. Just second guessing myself and looking for some input from others.

                    What are you using for your SFTP server today?

                    brandon220B 1 Reply Last reply Reply Quote 1
                    • brandon220B
                      brandon220 @Alex Sage
                      last edited by

                      @aaronstuder That is the plan once it is up and running.

                      1 Reply Last reply Reply Quote 0
                      • brandon220B
                        brandon220 @StrongBad
                        last edited by

                        @strongbad The existing one is hosted by a service company. It also gets used daily. This will be a new one.

                        1 Reply Last reply Reply Quote 0
                        • dbeatoD
                          dbeato @brandon220
                          last edited by

                          @brandon220 said in SFTP Server:

                          ng Fedora Server with FileZilla but am open to other ideas. I haven't set up an FTP server in a while so I'm here for some guidance and advice.

                          Your setup should be fine, just avoid the Filezilla Client adds on installation.

                          brandon220B 1 Reply Last reply Reply Quote 1
                          • brandon220B
                            brandon220 @dbeato
                            last edited by

                            @dbeato Not using FileZilla. I forgot they already know how to use WinSCP and I get no complaints from the users.

                            dbeatoD 1 Reply Last reply Reply Quote 1
                            • dbeatoD
                              dbeato @brandon220
                              last edited by

                              @brandon220 Nice, that's better

                              1 Reply Last reply Reply Quote 0
                              • Reid CooperR
                                Reid Cooper
                                last edited by

                                Keep it simple, just use straight Fedora for the server. That part is easy. And any client that they are already using.

                                1 Reply Last reply Reply Quote 0
                                • Emad RE
                                  Emad R @Danp
                                  last edited by

                                  @danp said in SFTP Server:

                                  Doesn't NextCloud support SFTP? Would that work for you?

                                  No it uses WebDav protocol, but you can login to the linux machine that is hosting it via SSH

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post