• 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

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 9 Feb 2017, 18:49

    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. :(

    A 1 Reply Last reply 9 Feb 2017, 19:01 Reply Quote 0
    • A
      AlexMurphy Banned @chisharpe
      last edited by 9 Feb 2017, 19:01

      @chisharpe Have you enabled ssh?

      1 Reply Last reply Reply Quote 0
      • C
        chisharpe
        last edited by 9 Feb 2017, 19:05

        yes

        A 1 Reply Last reply 9 Feb 2017, 19:06 Reply Quote 0
        • A
          AlexMurphy Banned @chisharpe
          last edited by 9 Feb 2017, 19:06

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

          1 Reply Last reply Reply Quote 0
          • C
            chisharpe
            last edited by 9 Feb 2017, 19:07

            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!

            A 2 Replies Last reply 9 Feb 2017, 19:14 Reply Quote 0
            • A
              AlexMurphy Banned @chisharpe
              last edited by AlexMurphy 2 Sept 2017, 19:14 9 Feb 2017, 19:14

              @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
              • A
                AlexMurphy Banned @chisharpe
                last edited by 9 Feb 2017, 19:17

                @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 9 Feb 2017, 19:22

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

                  this is what i get. :(

                  A 1 Reply Last reply 9 Feb 2017, 19:23 Reply Quote 0
                  • A
                    AlexMurphy Banned @chisharpe
                    last edited by 9 Feb 2017, 19:23

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

                    1 Reply Last reply Reply Quote 0
                    • C
                      chisharpe
                      last edited by 9 Feb 2017, 20:47

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

                      A 1 Reply Last reply 9 Feb 2017, 21:16 Reply Quote 0
                      • A
                        AlexMurphy Banned @chisharpe
                        last edited by 9 Feb 2017, 21:16

                        @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
                        11 out of 11
                        • First post
                          11/11
                          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