ssh login with public key without password

Max2Play Home Forums Max2Play on Raspberry PI ssh login with public key without password

Viewing 4 posts - 1 through 4 (of 4 total)
  • 1. März 2017 at 9:34 #27361


    if’ve got a problem. I would like to shutdown the raspberry pi zero with the max2play installation over ssh. I allready generated a key on the max2play and transfered it to an other pi with an fhem installation. But when I try to connect so the max2play I need to enter a password every time. I allready edited the /etc/ssh/ssh_config and set PasswordAuthentication to no. But no change.

    Can anybody help me and say what I doing wrong?

    With a third pi, with openelec on it, it works.

    Thank you.

    1. März 2017 at 14:17 #27372

    Hi jay-jey

    Could you please explain more how have you generated the key for the ssh connection ?

    Mohammad Mbydeen

    2. März 2017 at 7:16 #27390

    First I generated the key on the max2play with

    ssh-keygen -t rsa -b 4096

    then I transfered the key by

    ssh-copy-id pi@raspberry_FHEM

    6. März 2017 at 13:08 #27465

    Hi jay-jey

    Once the ssh session ends it will require you to authenticate the ssh session again, the solution is to keep the ssh session running, by creating sub-session, you can check the following link:

    Mohammad Mbydeen

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Register here