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

    sudo nano /etc/ssh/sshd_config blank file permissions issue?

    Scheduled Pinned Locked Moved Help and Support
    ssh
    11 Posts 2 Posters 3.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.
    • C
      chisharpe
      last edited by

      Cant change sshd config as i cant see it when i use sudo nano /etc/ssh/sshd_config it comes up as a blank file. :(

      AlexMurphyA 1 Reply Last reply Reply Quote 0
      • AlexMurphyA
        AlexMurphy Banned @chisharpe
        last edited by

        @chisharpe Have you enabled ssh?

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

          yes

          AlexMurphyA 1 Reply Last reply Reply Quote 0
          • AlexMurphyA
            AlexMurphy Banned @chisharpe
            last edited by

            @chisharpe Have you accessed the Pi at least once using ssh?

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

              yes i have. but its not just that. if i try to create a file lets say sudo nano /etc/udev/rules.d/10-retrogame.rules it says cant be written no such folder/ i cant get into any ect files from terminal or ssh and if i sftp it says permissions error 3 if i edit the files!

              AlexMurphyA 2 Replies Last reply Reply Quote 0
              • AlexMurphyA
                AlexMurphy Banned @chisharpe
                last edited by AlexMurphy

                @chisharpe very strange. I have a fully populated sshd_config file and was able to create a test file in /etc/udev/rules.d using sudo nano with no permissions error.

                1 Reply Last reply Reply Quote 0
                • AlexMurphyA
                  AlexMurphy Banned @chisharpe
                  last edited by

                  @chisharpe in terminal type cd /etc/ssh and enter. Then type ls -al. Do you see the sshd_config listed?

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

                    http://i30.photobucket.com/albums/c301/chisharpe/D0153D77-8065-49A6-9349-35C8AC1AB900_zps5tg7eyke.jpg

                    this is what i get. :(

                    AlexMurphyA 1 Reply Last reply Reply Quote 0
                    • AlexMurphyA
                      AlexMurphy Banned @chisharpe
                      last edited by

                      @chisharpe I see your problem... you are typing ect... it's etc.

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

                        i was about to hulk thankyou so much i feel such a fool

                        AlexMurphyA 1 Reply Last reply Reply Quote 0
                        • AlexMurphyA
                          AlexMurphy Banned @chisharpe
                          last edited by

                          @chisharpe sometimes it just takes another pair of eyes! The funny thing is you were typing it correctly on the forum. We've all been there.

                          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.