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

    Can't SSH (even though enabled)

    Scheduled Pinned Locked Moved Help and Support
    ssh retropie
    6 Posts 5 Posters 8.3k 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.
    • R
      RpiBeginner
      last edited by

      Hi everyone.

      I've looked around for a solution for this, but was not able to find it anywhere.

      So I've installed retropie 4.2.2 and I'm trying to SSH from my desktop pc (on the same wifi network) but cannot get access.
      At first the error message was "Connection refused", which I know now was because SSH was disabled in Retopie. So I enabled SSH and now when I try to SSH it says that Server unexpectedly closed the network. I've made sure that I'm typing the EXACT same IP as Retropie shows when "showing IP".

      I'm Using Putty to SSH and the COM port is 22 and SSH is selected in Putty.

      Anyone have an idea to get this working? It's really frustrating when trying to code, that its not working.

      1 Reply Last reply Reply Quote 1
      • cowboyscottC
        cowboyscott
        last edited by

        Your Router maybe blocking the SSH Port, which is port 22.

        1 Reply Last reply Reply Quote 0
        • R
          RpiBeginner
          last edited by

          Okay so I was not able to open port 22 on my sagem router (it says there was a conflict).

          I have however opened the port through my AVG firewall. But it still gives me the same error.. Any other suggestions?

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

            Port 22 must be opend. Can you ping your PI?
            Use pping or tcping to ping port 22 :)

            Further Info:

            the user name must be pi password is raspberry
            root user must be enabeld first

            you also try putty retropie

            1 Reply Last reply Reply Quote 0
            • C
              ckp
              last edited by ckp

              @RpiBeginner , if your Pi and Pc are on the same LAN, the router shouldn't be blocking anything.
              On your PC, open a cmd.exe window and type:
              telnet <your pi's ip address> 22
              If the screen clears out and blanks, then you have verified the Pi can be accessed on port 22.
              If you get a timeout or error of some sort, then your Pi cannot be reached at that ip address on port 22.
              If your PC does not have telnet.exe and you're using Windows , just add it from add windows components in the uninstall programs area.

              RetroPie v4.2 • RPi3 Model B • 5.0V 2.5A PSU • 32GB Samsung EVO+ microSD

              1 Reply Last reply Reply Quote 0
              • simonsterS
                simonster
                last edited by

                I had this once before, and it was to do with rasbian disabling ssh until I had changed the password (in fact I think it came up with a prompt to that effect on the console).

                Also, if you are using a multiband wireless router, some (notably BT Home Hubs amongst others) do not allow traffic to cross from 5G to 2.4G network or vice versa, but allow both networks to the internet, they are treated as if they were 2 separate internal networks.

                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.