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

    How to make another login for ssh?

    Scheduled Pinned Locked Moved Help and Support
    sshnetplay
    2 Posts 1 Posters 436 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
      Chadmon10
      last edited by

      So I get that I can change my default login and password, but how do I add an additional one and say limit the access to read only?

      I'm setting up netplay with a friend, and I would like to be able to give him ability to ssh into my retropie to ensure we have the same settings without letting him delete records etc... Is this possible?

      I have already configured router to allow port 22, and can successfully ssh into my pi from the internet. How do I make a login just for him?

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

        Ok figured it out.

        First step, is to open your router and add your raspberry pi to the port forwarding. This is easy enough, you will want to use the internal IP of you pi, and open port 22 to tcp. you can usually access your router settings via http://192.168.0.1/ in your browser, providing you are wired directly into the router and not using wifi to connect.

        Once this is done you will need the external ip. I found it by going on to my retropie under "retroarch netplay".

        You will need this external ip to login from the internet.

        this site has the steps on creating a new user:

        https://humanwhocodes.com/snippets/2021/03/create-user-linux-ssh-key/

        Once done you can open putty from any pc connected to the internet and ssh into your pi by using the external ip.

        Expose your pi to the internet at your own risk.

        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.