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

    Nextcloud: unable to ssh or sftp

    IT Discussion
    7
    21
    706
    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.
    • dafyreD
      dafyre @stacksofplates
      last edited by

      @stacksofplates said in Nextcloud: unable to ssh or sftp:

      @gjacobse said in Nextcloud: unable to ssh or sftp:

      @stacksofplates
      Since my ip is getting banned by fail2ban- I would think that they are.

      I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

      That's what keys are for.

      Or a password manager, lol.

      gjacobseG 1 Reply Last reply Reply Quote 0
      • gjacobseG
        gjacobse @dafyre
        last edited by

        @dafyre said in Nextcloud: unable to ssh or sftp:

        @stacksofplates said in Nextcloud: unable to ssh or sftp:

        @gjacobse said in Nextcloud: unable to ssh or sftp:

        @stacksofplates
        Since my ip is getting banned by fail2ban- I would think that they are.

        I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

        That's what keys are for.

        Or a password manager, lol.

        That is just it.

        I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.

        dafyreD stacksofplatesS 2 Replies Last reply Reply Quote 0
        • dafyreD
          dafyre @gjacobse
          last edited by dafyre

          @gjacobse said in Nextcloud: unable to ssh or sftp:

          @dafyre said in Nextcloud: unable to ssh or sftp:

          @stacksofplates said in Nextcloud: unable to ssh or sftp:

          @gjacobse said in Nextcloud: unable to ssh or sftp:

          @stacksofplates
          Since my ip is getting banned by fail2ban- I would think that they are.

          I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

          That's what keys are for.

          Or a password manager, lol.

          That is just it.

          I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.

          Hmm... SSH limited to a specific IP set?

          Edit: Or config file changes by updates that now block root logins?

          gjacobseG scottalanmillerS 2 Replies Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @gjacobse
            last edited by

            @gjacobse said in Nextcloud: unable to ssh or sftp:

            @dafyre said in Nextcloud: unable to ssh or sftp:

            @stacksofplates said in Nextcloud: unable to ssh or sftp:

            @gjacobse said in Nextcloud: unable to ssh or sftp:

            @stacksofplates
            Since my ip is getting banned by fail2ban- I would think that they are.

            I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

            That's what keys are for.

            Or a password manager, lol.

            That is just it.

            I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.

            Why not just use keys? While it is still encrypted, when you use a password the password has to be sent to the remote system to verify. When using keys, the private key is never sent over the wire. So even a 500 character pass is still less secure than a simple ed25519 key that's only 80 characters in length.

            gjacobseG 1 Reply Last reply Reply Quote 1
            • gjacobseG
              gjacobse @stacksofplates
              last edited by

              @stacksofplates

              Keys may very well be a good solution - and the right one. However at this point it is not planned as I am doing a data sync and will be shutting it down. I've not been using it, nor has anyone else that has access to it. So, I jus don't see the need to keep it up right now. I can turn around and if needed self host internally at home - but why, I have the ReadyNAS already.

              1 Reply Last reply Reply Quote 0
              • gjacobseG
                gjacobse @dafyre
                last edited by

                @dafyre said in Nextcloud: unable to ssh or sftp:

                @gjacobse said in Nextcloud: unable to ssh or sftp:

                @dafyre said in Nextcloud: unable to ssh or sftp:

                @stacksofplates said in Nextcloud: unable to ssh or sftp:

                @gjacobse said in Nextcloud: unable to ssh or sftp:

                @stacksofplates
                Since my ip is getting banned by fail2ban- I would think that they are.

                I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

                That's what keys are for.

                Or a password manager, lol.

                That is just it.

                I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.

                Hmm... SSH limited to a specific IP set?

                Edit: Or config file changes by updates that now block root logins?

                I was finally able to sign in via SSH on my local windows box. The hang up now is getting in with Filezilla or winSCP to download the files...

                I've connected with Filezilla in the past using sFTP://IP address. So I know it does work.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @gjacobse
                  last edited by

                  @gjacobse said in Nextcloud: unable to ssh or sftp:

                  For whatever reason, I cannot ssh into my Nextcloud instance on Vultr using my desktop computer, nor can I sftp.
                  I can connect via my cell phone (Termius)

                  Isn't that SSH?

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @gjacobse
                    last edited by

                    @gjacobse said in Nextcloud: unable to ssh or sftp:

                    Since my ip is getting banned by fail2ban- I would think that they are.

                    Turn Fail2Ban off until yo ufigure it out.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @dafyre
                      last edited by

                      @dafyre said in Nextcloud: unable to ssh or sftp:

                      @gjacobse said in Nextcloud: unable to ssh or sftp:

                      @dafyre said in Nextcloud: unable to ssh or sftp:

                      @stacksofplates said in Nextcloud: unable to ssh or sftp:

                      @gjacobse said in Nextcloud: unable to ssh or sftp:

                      @stacksofplates
                      Since my ip is getting banned by fail2ban- I would think that they are.

                      I’m down to getting winscp or FileZilla to connect, I finally can connect via ssh. Trouble with manually typing a 32 character complex pass.

                      That's what keys are for.

                      Or a password manager, lol.

                      That is just it.

                      I have and use a password manager. Same one on the Desktop as the phone. Even with auto-type it wasn't working. So - that "wasn't" the issue here.

                      Hmm... SSH limited to a specific IP set?

                      Edit: Or config file changes by updates that now block root logins?

                      netstat -tulpn

                      to verify

                      1 Reply Last reply Reply Quote 0
                      • gjacobseG
                        gjacobse
                        last edited by

                        Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                        About the fifth time manually typing the lengthy complex password/code and I got connected. all I can do is roll my eyes as files download.

                        side note, if you add the Cookbook app to NC, I have a few tricks to share ..

                        DashrenderD 1 Reply Last reply Reply Quote 1
                        • DashrenderD
                          Dashrender @gjacobse
                          last edited by

                          @gjacobse said in Nextcloud: unable to ssh or sftp:

                          Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                          That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                          gjacobseG 1 Reply Last reply Reply Quote 0
                          • gjacobseG
                            gjacobse @Dashrender
                            last edited by

                            @dashrender said in Nextcloud: unable to ssh or sftp:

                            @gjacobse said in Nextcloud: unable to ssh or sftp:

                            Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                            That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                            That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @gjacobse
                              last edited by

                              @gjacobse said in Nextcloud: unable to ssh or sftp:

                              @dashrender said in Nextcloud: unable to ssh or sftp:

                              @gjacobse said in Nextcloud: unable to ssh or sftp:

                              Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                              That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                              That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.

                              What else would be messing with the clipboard?

                              gjacobseG 1 Reply Last reply Reply Quote 0
                              • gjacobseG
                                gjacobse @Dashrender
                                last edited by

                                @dashrender said in Nextcloud: unable to ssh or sftp:

                                @gjacobse said in Nextcloud: unable to ssh or sftp:

                                @dashrender said in Nextcloud: unable to ssh or sftp:

                                @gjacobse said in Nextcloud: unable to ssh or sftp:

                                Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                                That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                                That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.

                                What else would be messing with the clipboard?

                                But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?

                                Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @gjacobse
                                  last edited by

                                  @gjacobse said in Nextcloud: unable to ssh or sftp:

                                  @dashrender said in Nextcloud: unable to ssh or sftp:

                                  @gjacobse said in Nextcloud: unable to ssh or sftp:

                                  @dashrender said in Nextcloud: unable to ssh or sftp:

                                  @gjacobse said in Nextcloud: unable to ssh or sftp:

                                  Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                                  That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                                  That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.

                                  What else would be messing with the clipboard?

                                  But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?

                                  Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -

                                  what you describe is the use of clipboard. but without a keylogger it's hard to see if extra stuff is being input or left off...

                                  travisdh1T 1 Reply Last reply Reply Quote 0
                                  • travisdh1T
                                    travisdh1 @Dashrender
                                    last edited by

                                    @dashrender said in Nextcloud: unable to ssh or sftp:

                                    @gjacobse said in Nextcloud: unable to ssh or sftp:

                                    @dashrender said in Nextcloud: unable to ssh or sftp:

                                    @gjacobse said in Nextcloud: unable to ssh or sftp:

                                    @dashrender said in Nextcloud: unable to ssh or sftp:

                                    @gjacobse said in Nextcloud: unable to ssh or sftp:

                                    Thanks to all - seems that something was getting into the clipboard that shouldn't have been.

                                    That's scary - like you've been compromised scary.... Even if it is a Sony style root kit that wasn't meant to do harm.. still VERY bad.

                                    That would be interesting... But always in the realm of possible. Not something I had thought of, but I will cycle through some anti-rootkit and malware apps when I return home.

                                    What else would be messing with the clipboard?

                                    But is it clipboard when, while I manually typed it into Notepad - same notepad session I had pasted the password into from Keepass,.. that I highlight the password and copy/paste it into a new ssh session and it work fine?

                                    Keepass AutoType didn't (seem to)/ doesn't (seem to) work either for this exercise -

                                    what you describe is the use of clipboard. but without a keylogger it's hard to see if extra stuff is being input or left off...

                                    If using Windows, there may be extra spaces at the beginning/end and it also might not be moving things to the clipboard the first time. So annoying seeing this happen to users computers now in addition to my own.

                                    1 Reply Last reply Reply Quote 0
                                    • IRJI
                                      IRJ
                                      last edited by

                                      Use SSH keys and whitelist your IP using Vultr firewall. When your IP changes, login to vultr console and add it.

                                      Much safer and way easier.

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