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

    GPi SSH/PuTTY issues

    Scheduled Pinned Locked Moved Help and Support
    gpi caseputtyssh
    14 Posts 4 Posters 1.2k 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.
    • T
      tmshll
      last edited by

      Hi all, extremely new to Retropie.

      I've set up my Retroflag GPi case, following the guide on howchoo. Retropie is installed, buttons configured, WiFi enabled. So far so good.

      Now I'm trying to use SSH to add the Safe shutdown script (and some ROMs) to my GPi. I've installed PuTTY on my laptop (Windows 10). Got the IP from Retropie, enabled SSH on the device. I try to connect using PuTTY and immediately get the following message:

      Network error: Software caused connection abort.

      I've looked around and seen that this message can occur with timeouts, but I'm seeing it as soon as I hit open connection.

      I'm sure there's a fix here and I've probably missed something obvious, but any help would be appreciated :)

      cellyC 1 Reply Last reply Reply Quote 0
      • cellyC
        celly @tmshll
        last edited by

        @tmshll are you using the official retropie image or a premade build for the GPi Case?

        Currently Playing: Tetris (Gameboy)

        T 1 Reply Last reply Reply Quote 1
        • T
          tmshll @celly
          last edited by

          @celly Hi, I used the Retropie image for 0/1 from here https://retropie.org.uk/download/ and flashed it onto my SD. Hope this helps

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

            Is there any firewall between your PI and your PC ? Can you run - from a command line on Windows - a ping and get a successful connection ?

            ping <retropie_ip>
            
            T 1 Reply Last reply Reply Quote 1
            • cyperghostC
              cyperghost @tmshll
              last edited by cyperghost

              @tmshll do You see an IP if you go to RETROPIE --> WiFi?
              Furthermore how did you enable SSH service and entered WiFi credentials?
              Is there a Proxy or Firewall in your network?

              T 1 Reply Last reply Reply Quote 0
              • T
                tmshll @mitu
                last edited by

                @mitu Hi, just tried a few pings, got the following:

                Ping: transmit failed. General failure

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

                  How are you typing the command ? This error happens when your PC is not connected to the network or has limited connectivity.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tmshll @cyperghost
                    last edited by

                    @cyperghost Hi,

                    I created an SSH file (blank txt file and then deleted the extension) I also made sure SSH was enabled via interfacing options through Retropie.

                    As for setting up the WiFi I created a wpa_supplicant.conf file on my SD, and input my details (am I right in thinking my SSID is the same as my WiFi network name on my router?) I think this worked as I tested the WiFi by downloading extra splash screens via the GPi case.

                    cyperghostC 1 Reply Last reply Reply Quote 0
                    • T
                      tmshll @mitu
                      last edited by

                      @mitu okay, just reset my WiFi and got a response from my GPi (Reply from 192.168.1.7: bytes=32 time=48ms TTL=64)

                      Should I try PuTTY again?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tmshll @tmshll
                        last edited by

                        @tmshll @mitu just tried putty and got the message:

                        Remote side unexpectedly closed network connection

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

                          Are you sure you don't have a firewall on your router/Wifi AP ?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tmshll @mitu
                            last edited by

                            @mitu how could I check if there's one in place? Ty

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

                              Check on your Router/AP web management page - see if any firewall is configured in their settings.

                              1 Reply Last reply Reply Quote 0
                              • cyperghostC
                                cyperghost @tmshll
                                last edited by cyperghost

                                @tmshll said in GPi SSH/PuTTY issues:

                                @cyperghost Hi,

                                I created an SSH file (blank txt file and then deleted the extension) I also made sure SSH was enabled via interfacing options through Retropie.

                                As for setting up the WiFi I created a wpa_supplicant.conf file on my SD, and input my details (am I right in thinking my SSID is the same as my WiFi network name on my router?) I think this worked as I tested the WiFi by downloading extra splash screens via the GPi case.

                                Yes ... that seems correct.

                                192.168.1.7

                                Yes, that's your IP ....

                                @mitu
                                Windows is very weak in handling ports ;)
                                You can use pping and a command like PPing retropie 22 to determine if port 22 is open.

                                @tmshll In your example the call would be PPing 192.168.1.7 22 to check connection to SSH port 22

                                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.