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

    Fresh install retropie 4.2 cannot ssh or sftp

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.2sftpssh
    18 Posts 9 Posters 14.9k 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.
    • D
      dukesilver @edmaul69
      last edited by

      @edmaul69 According to the documentation, yes, you have to enable SSH in order to SFTP. See the SFTP section of the First Installation Wiki.
      https://github.com/retropie/retropie-setup/wiki/First-Installation

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @dukesilver
        last edited by

        @dukesilver got it working. Thank you very much.

        1 Reply Last reply Reply Quote 1
        • E
          EvilWayz @dukesilver
          last edited by

          @dukesilver when I try to start raspi-config it tells me the boot partition isnt mounted and raspi-config only works with Raspbian, kicks me back to the main menu. So my question is, how do you enable ssh if you aren't running raspbian? Im running retropie 4.2 on berryboot, and ssh works on all the other os.

          1 Reply Last reply Reply Quote 0
          • obsidianspiderO
            obsidianspider
            last edited by

            1. Enable SSH on a headless Raspberry Pi

            For headless setup, SSH can be enabled by placing a file named 'ssh', without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the 'ssh' file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain text, or nothing at all.

            https://www.raspberrypi.org/documentation/remote-access/ssh/

            📷 @obsidianspider

            E 1 Reply Last reply Reply Quote 0
            • E
              EvilWayz @obsidianspider
              last edited by EvilWayz

              @obsidianspider said in Fresh install retropie 4.2 cannot ssh or sftp:

              1. Enable SSH on a headless Raspberry Pi

              For headless setup, SSH can be enabled by placing a file named 'ssh', without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the 'ssh' file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain text, or nothing at all.

              https://www.raspberrypi.org/documentation/remote-access/ssh/

              Berryboot doesn't allow that.

              Workaround is as follows:

              Get out of Emulation station by hitting shift+ F4. That will drop you to terminal
              then type the following:

              cd /
              sudo mkdir boot
              sudo mount /dev/mmcblk0p1 /boot
              exit

              That should get you back to the Emulation Station Retropie menu. Click on raspi-config and then select the option for Interfacing options. Click on SSH and click enable.

              Once you reboot you should be good to go.

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @EvilWayz
                last edited by

                @EvilWayz or just do update-rc.d ssh enable (and reboot).

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 3
                • C
                  cgeyik
                  last edited by

                  I am unable to get SSH working. After enabling it i get the following error message from Putty: Network error Software caused connection abort.

                  I tried to connect via my android phone and the message i get there is: session.connect: java.io.IOExeption: End of IO Stream Read.

                  Any help would be appriciated.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tmak
                    last edited by

                    Hey, so. I updated to the latest Retro pie 4.2. I enabled ssh Connect. So I am now able to connect to the raspberry via filezilla,. However it won't let me delete or move roms to different folders. Has anyone had this issue and is there a fix?

                    Thanks,

                    1 Reply Last reply Reply Quote 0
                    • S
                      Swagman89
                      last edited by

                      @BuZz @herb_fargus can one of you guys close this thread so we can stop having other people hijack this trainwreck? That way they can make their own threads and not read the README.

                      edmaul69E 1 Reply Last reply Reply Quote 1
                      • edmaul69E
                        edmaul69 @Swagman89
                        last edited by

                        @Swagman89 as the person who created this thread, i see nothing that people have asked that arent related to ssh issues and 4.2. Just because i managed to fix it by just enabling ssh, there are others who havent and if they create a new post they will probably get told the exact same thing. I would prefer keeping it contained to one thread.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Swagman89
                          last edited by

                          @edmaul69 Just figured it went against the rules seeing as there have been multiple people say they are having the same issue. Which could all be fixed by reading the documentation.

                          edmaul69E 1 Reply Last reply Reply Quote 0
                          • edmaul69E
                            edmaul69 @Swagman89
                            last edited by edmaul69

                            @Swagman89 the problem is that some people have done what i have done and stll have issues. The problem is that this is all new to 4.2 due to raspberrypi.or making changes to pixel because of hackers using "internet of things" devices to take down websites. So even when i asked i didnt think to look because i have done so much retropie stuff and never saw this before so it didnt make sense why it wasnt working and doing a search didnt help.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Swagman89
                              last edited by Swagman89

                              @edmaul69 not to be rude but I'm pretty sure it was in the release notes/changelog for 4.2. I feel confident that 99.9% of all changes made to RetroPie are documented. Plus if other people are having issues after they added the file to enable ssh then they should make a new thread or open a problem report on github. Makes it easier to find with a search imo.

                              1 Reply Last reply Reply Quote 0
                              • P
                                PetroRie
                                last edited by

                                Why did they disable it on default?

                                edmaul69E 1 Reply Last reply Reply Quote 0
                                • edmaul69E
                                  edmaul69 @PetroRie
                                  last edited by edmaul69

                                  @PetroRie raspberrypi.org disabled it in pixel because hackers are using peoples "internet of things" devices that use a common password to take down entire websites. So reluctantly the felt it was something that had to be done. So when you enable it and you drop to commandline you will notice at the top that it tells you to change your password. This is all to protect you and your device.

                                  1 Reply Last reply Reply Quote 1
                                  • 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.