Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. SFTP Public Key?

SFTP Public Key?

Scheduled Pinned Locked Moved Solved Support
sftp
11 Posts 5 Posters 3.0k Views 5 Watching
  • 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.
    • subvenS Offline
      subvenS Offline
      subven
      wrote on last edited by girish
      #1

      Okay so I want to setup my scanner (Brother ADS-2400N) to push files over SFTP to my paperless ngx instance. While setting up the profile within the scanner, Brother forces me to specify a server public key (for the SFTP server I assume) even if I choose to authenticate via user+password. This is also written in their docs which does not make sense to me.

      2022-10-05 17_26_38-Brother ADS-2400N.png

      What do I do now? Have anybody managed to use SFTP with a Brother device? I have no other options since FTP is not a thing anymore.

      My fallback solution would be setting up a local folder with live sync to the Paperless/Nextcloud directory.

      girishG 1 Reply Last reply
      1
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        You can ssh in to your server and grab the pubkey from /etc, no?

        Conscious tech

        1 Reply Last reply
        0
        • subvenS subven

          Okay so I want to setup my scanner (Brother ADS-2400N) to push files over SFTP to my paperless ngx instance. While setting up the profile within the scanner, Brother forces me to specify a server public key (for the SFTP server I assume) even if I choose to authenticate via user+password. This is also written in their docs which does not make sense to me.

          2022-10-05 17_26_38-Brother ADS-2400N.png

          What do I do now? Have anybody managed to use SFTP with a Brother device? I have no other options since FTP is not a thing anymore.

          My fallback solution would be setting up a local folder with live sync to the Paperless/Nextcloud directory.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          @subven The SFTP server public key is at /home/yellowtent/platformdata/sftp/ssh/ssh_host_rsa_key.pub . Let me know if putting that actually solves the problem.

          I am also curious why Server Public Key is a drop down. Should it not be an input box?

          subvenS 1 Reply Last reply
          2
          • girishG girish

            @subven The SFTP server public key is at /home/yellowtent/platformdata/sftp/ssh/ssh_host_rsa_key.pub . Let me know if putting that actually solves the problem.

            I am also curious why Server Public Key is a drop down. Should it not be an input box?

            subvenS Offline
            subvenS Offline
            subven
            wrote on last edited by
            #4

            @girish you have to upload it somewhere else and select it there. Okay will try 🙂

            ? 1 Reply Last reply
            1
            • subvenS subven

              @girish you have to upload it somewhere else and select it there. Okay will try 🙂

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #5

              @subven Did you get it to work? I get an Authentication Error after submitting with the ssh_host_rsa_key.pub file.

              girishG 1 Reply Last reply
              1
              • ? A Former User

                @subven Did you get it to work? I get an Authentication Error after submitting with the ssh_host_rsa_key.pub file.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @grbmlb are you also using it with a scanner/printer?

                ? 1 Reply Last reply
                1
                • girishG girish

                  @grbmlb are you also using it with a scanner/printer?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #7

                  @girish Yes, I am also setting up paperless, but with the Brother ADS-1700W.
                  I managed to make it work in the meantime. I had to add diffie-hellman-group14-sha1 to the sshd_config and now everything works.

                  subvenS girishG 2 Replies Last reply
                  4
                  • ? A Former User

                    @girish Yes, I am also setting up paperless, but with the Brother ADS-1700W.
                    I managed to make it work in the meantime. I had to add diffie-hellman-group14-sha1 to the sshd_config and now everything works.

                    subvenS Offline
                    subvenS Offline
                    subven
                    wrote on last edited by
                    #8

                    @grbmlb yepp thats what I did too. Sorry for not replying 🙂

                    1 Reply Last reply
                    0
                    • ? A Former User

                      @girish Yes, I am also setting up paperless, but with the Brother ADS-1700W.
                      I managed to make it work in the meantime. I had to add diffie-hellman-group14-sha1 to the sshd_config and now everything works.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @grbmlb said in SFTP Public Key?:

                      I had to add diffie-hellman-group14-sha1 to the sshd_config and now everything works

                      also @subven

                      is the above placed in the sshd_config of the server or the printer?

                      subvenS 1 Reply Last reply
                      0
                      • girishG girish

                        @grbmlb said in SFTP Public Key?:

                        I had to add diffie-hellman-group14-sha1 to the sshd_config and now everything works

                        also @subven

                        is the above placed in the sshd_config of the server or the printer?

                        subvenS Offline
                        subvenS Offline
                        subven
                        wrote on last edited by subven
                        #10

                        @girish unfortunately the server which I would not advice and therefore never posted a reply. After proof of concept was successful I decided to not use it in production. In the end it's Brothers fault that they do not offer other methods or current security standards.

                        My current setup looks like this:
                        One button at my printer is programmed to scan to an local (can also be a network folder in case you have many clients) folder on my client PC. I then use RealTimeSync (part of the open source software FreeFileSync) running as a system service to sync the folder to one of my Nextcloud folders. This Nextcloud folder is just a mount to an external storage which I also use as base document directory for Paperless. So what happens is the new PDF file automatically gets transfered to Paperless, is processed and pushed into Nextcloud including OCR layer, tags and other automation workflows.

                        1 Reply Last reply
                        3
                        • girishG girish marked this topic as a question on
                        • girishG girish has marked this topic as solved on
                        • T Offline
                          T Offline
                          timka
                          wrote on last edited by
                          #11

                          @subven so what kind of volume is it for paperless? Sorry really would love to know, also having a ads-1700W

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search