• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 help/background music

Scheduled Pinned Locked Moved Help and Support
background musisshputtywinscpbgm
39 Posts 5 Posters 5.6k 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.
  • M
    mitu Global Moderator
    last edited by 19 Aug 2019, 02:15

    Since background music is an add-on that's not part of RetroPie, the USB transfer method doesn't work. What's the error you get when you try the SSH connection with Putty ?

    J 1 Reply Last reply 19 Aug 2019, 10:15 Reply Quote 0
    • J
      Jste84 @mitu
      last edited by 19 Aug 2019, 10:15

      @mitu said in Ssh help/background music:

      Since background music is an add-on that's not part of RetroPie, the USB transfer method doesn't work. What's the error you get when you try the SSH connection with Putty ?

      Ok when I use winscp the message I get is sftp connection unavailable but something about FTP being available.

      Ive enabled ssh, so not sure why this would be?

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 19 Aug 2019, 11:15

        Check if the SSH service is running, from the PI:

        systemctl status ssh
        

        You should get something like:

        ● ssh.service - OpenBSD Secure Shell server
           Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
           Active: active (running) since Fri 2019-07-26 15:58:35 EEST; 3 weeks 2 days ago
         Main PID: 748 (sshd)
            Tasks: 1 (limit: 4915)
           CGroup: /system.slice/ssh.service
                   └─748 /usr/sbin/sshd -D
        

        If the status of the service is not 'enabled/running', then SSH is not working on the PI.

        J 1 Reply Last reply 21 Aug 2019, 17:51 Reply Quote 0
        • J
          Jste84 @mitu
          last edited by 21 Aug 2019, 17:51

          @mitu I've done this and I'm getting this message back

          IMG_20190821_184628_compress58.jpg

          I'm guessing the bit underneath isn't what you'd expect to see?

          J 1 Reply Last reply 21 Aug 2019, 18:28 Reply Quote 0
          • J
            Jste84 @Jste84
            last edited by 21 Aug 2019, 18:28

            Wish I knew what was causing this. If anyone can help it would be much appreciated

            J 1 Reply Last reply 22 Aug 2019, 18:59 Reply Quote 0
            • J
              Jste84 @Jste84
              last edited by 22 Aug 2019, 18:59

              @Jste84 said in Ssh help/background music:

              Wish I knew what was causing this. If anyone can help it would be much appreciated

              Still struggling with this If anyone can help, would be appreciated.

              1 Reply Last reply Reply Quote 0
              • C
                Clyde
                last edited by Clyde 22 Aug 2019, 20:10

                Are there any error messages from ssh in putty or from WinSCP?

                You also could give us the output from ssh with the -v option. For example ssh -v pi@retropie or whatever username and hostname your Retropie is accessed by in the network. With -v, ssh gives much more information that may point in the right direction. If you want, you may anonymize the output to some extend, as long as it remains original enough for debugging.

                J 1 Reply Last reply 25 Aug 2019, 17:31 Reply Quote 0
                • J
                  Jste84 @Clyde
                  last edited by 25 Aug 2019, 17:31

                  @Clyde IMG_20190821_184628_compress58.jpg

                  This is the output of the file you mentioned. Any idea what this means?

                  C 1 Reply Last reply 25 Aug 2019, 19:19 Reply Quote 0
                  • J
                    Jste84
                    last edited by 25 Aug 2019, 17:32

                    @Clyde @mitu any help would be appreciated 👍

                    1 Reply Last reply Reply Quote 0
                    • M
                      mitu Global Moderator
                      last edited by 25 Aug 2019, 17:57

                      Try re-generating the sshd server keys - maybe the errors shown in the log have something to do with the connection not working - https://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/.

                      J 1 Reply Last reply 25 Aug 2019, 22:20 Reply Quote 0
                      • C
                        Clyde @Jste84
                        last edited by 25 Aug 2019, 19:19

                        @Jste84 said in Ssh help/background music:

                        This is the output of the file you mentioned. Any idea what this means?

                        It says that (some of) your ssh host keys on the Pi couldn't be read, which could be fixed by the method that @mitu linked to. Maybe that will solve your problem.

                        But I asked you for any messages on the system you're trying to connect to your Pi from by whatever means you tried to connect to your Pi with (WinSCP, ssh in putty, etc.).

                        J 1 Reply Last reply 25 Aug 2019, 22:20 Reply Quote 0
                        • J
                          Jste84 @Clyde
                          last edited by 25 Aug 2019, 22:20

                          @Clyde said in Ssh help/background music:

                          @Jste84 said in Ssh help/background music:

                          This is the output of the file you mentioned. Any idea what this means?

                          It says that (some of) your ssh host keys on the Pi couldn't be read, which could be fixed by the method that @mitu linked to. Maybe that will solve your problem.

                          But I asked you for any messages on the system you're trying to connect to your Pi from by whatever means you tried to connect to your Pi with (WinSCP, ssh in putty, etc.).

                          I was getting a message saying sftp unavailable, but FTP is available.

                          I've done the above and I'm now getting a message saying network error....

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jste84 @mitu
                            last edited by 25 Aug 2019, 22:20

                            @mitu I've tried but I'm.now getting a network error. Software caused connection abort message.

                            C M 2 Replies Last reply 26 Aug 2019, 05:01 Reply Quote 0
                            • C
                              Clyde @Jste84
                              last edited by 26 Aug 2019, 05:01

                              @Jste84 Please give us the exact error messages, as we can't deduce much from a summary like "a network error".

                              J 1 Reply Last reply 26 Aug 2019, 08:11 Reply Quote 0
                              • M
                                mitu Global Moderator @Jste84
                                last edited by 26 Aug 2019, 05:42

                                @Jste84 Most likely the procedure didn't fix - can you run systemctl status ssh again and see if any errors are shown, from the log ?

                                J 1 Reply Last reply 26 Aug 2019, 08:09 Reply Quote 0
                                • J
                                  Jste84 @mitu
                                  last edited by 26 Aug 2019, 08:09

                                  @mitu said in Ssh help/background music:

                                  @Jste84 Most likely the procedure didn't fix - can you run systemctl status ssh again and see if any errors are shown, from the log ?

                                  IMG_20190826_090733_compress16.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jste84 @Clyde
                                    last edited by 26 Aug 2019, 08:11

                                    @Clyde said in Ssh help/background music:

                                    @Jste84 Please give us the exact error messages, as we can't deduce much from a summary like "a network error".

                                    IMG_20190826_091103_compress64.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Jste84
                                      last edited by 26 Aug 2019, 08:18

                                      @Clyde @mitu I've just tried to reinstall putty, to check if this makes any difference...but no joy. Slightly different error message

                                      IMG_20190826_091629_compress28.jpg

                                      E 1 Reply Last reply 26 Aug 2019, 08:34 Reply Quote 0
                                      • E
                                        el chupacabra @Jste84
                                        last edited by el chupacabra 26 Aug 2019, 08:34

                                        Are you sure ssh is running? How did you run raspi-config before? you should use it again and make sure the ssh service is running on boot.

                                        also you can do
                                        tail /var/log/auth.log
                                        or just nano to it and look at the last lines to see why it kicked you off. If it is running, that is.

                                        J 1 Reply Last reply 26 Aug 2019, 08:59 Reply Quote 0
                                        • M
                                          mitu Global Moderator
                                          last edited by 26 Aug 2019, 08:39

                                          Putty is a simple program, doesn't need to be re-installed. The errors in the ssh service indicate that sshd doesn't work correctly, hence the Putty error. If you run - from a command line on the Pi - ssh localhost, you'll probably also receive an error.

                                          I've run the procedure to reset the SSHD host keys and they are re-generated - make sure you've correctly executed the steps on that page and that you restart the ssh service.

                                          J 1 Reply Last reply 26 Aug 2019, 08:51 Reply Quote 0
                                          21 out of 39
                                          • First post
                                            21/39
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received