RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    SSH Only works as a guest [SOLVED]

    Scheduled Pinned Locked Moved Help and Support
    sshguestuserremote access
    39 Posts 3 Posters 6.0k 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.
    • mituM
      mitu Global Moderator @ChasKa04
      last edited by

      @chaska04 You ssh server on the retropie is broken - how did you install the system ?
      Try reinstalling ssh on the retropie:

      sudo apt-get install --reinstall openssh-server
      
      ChasKa04C 1 Reply Last reply Reply Quote 0
      • ChasKa04C
        ChasKa04 @mitu
        last edited by

        @mitu I installed it with an image from retropie website. In late 2017. Trying the command now.

        ChasKa04C 1 Reply Last reply Reply Quote 0
        • ChasKa04C
          ChasKa04 @ChasKa04
          last edited by ChasKa04

          @chaska04 Sorry, No Luck. I ran the command and re-installed then rebooted.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @ChasKa04
            last edited by

            @chaska04 Then try a complete uninstall then install again

            dpkg -P openssh-server
            apt-get install -y openssh-server
            
            ChasKa04C 2 Replies Last reply Reply Quote 0
            • ChasKa04C
              ChasKa04 @mitu
              last edited by

              @mitu Ok

              1 Reply Last reply Reply Quote 0
              • ChasKa04C
                ChasKa04 @mitu
                last edited by

                @mitu It says the operation requires SuperUser Privilege.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @ChasKa04
                  last edited by

                  @chaska04 said in SSH Only works as a guest:

                  @mitu It says the operation requires SuperUser Privilege.

                  Add sudo before each command.

                  ChasKa04C 1 Reply Last reply Reply Quote 0
                  • ChasKa04C
                    ChasKa04 @mitu
                    last edited by

                    @mitu It says it ran into openssh-server while processing (as an error)

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @ChasKa04
                      last edited by

                      @chaska04 What's the actual error and when does it occur - during the uninstall or the install ?

                      ChasKa04C 1 Reply Last reply Reply Quote 0
                      • ChasKa04C
                        ChasKa04 @mitu
                        last edited by

                        @mitu Uninstall.

                        dpkg: error processing package ssh
                        depending problems - not removing
                        Errors were encountered while processing:
                        openssh-server
                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator
                          last edited by

                          Try this:

                          sudo apt-get -y purge  openssh-server
                          sudo apt-get -y install openssh-server
                          
                          ChasKa04C 2 Replies Last reply Reply Quote 2
                          • ChasKa04C
                            ChasKa04 @mitu
                            last edited by

                            @mitu Instead of what you said before?

                            1 Reply Last reply Reply Quote 0
                            • ChasKa04C
                              ChasKa04 @mitu
                              last edited by

                              @mitu OHHH MYYY GAWWWD. IT WORKED. Thank you sooooooooooooo much!! I can now do so much more thanks to you!!!

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

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.