SSH public key authentication does not work

Follow

Comments

2 comments

  • Avatar
    Faris Raouf

    This is very helpful.

    But it needs to be made clear that when using the manual method (create .ssh and authorized keys in subscription's private directory), it is necessary to chown both .ssh and authorized_keys to ftpuser.root [or possibly ftpuser.psacln], where ftpuser = the ftp username shown on the page where you enable or disable ssh access for the subscription.

    If this is not done, the authorized_keys file is not readable and an ssh key-based login will not be possible.

    It would also be nice if it was made clear that you need to chmod og-xrw authorized_keys although this is hinted at right at the start, it is not as clear as some users might need it to be.

     

     

     

  • Avatar
    Pavel Mikhaylov

    Hi Faris,

    Thank you for your input.

    The article has been modified considering your recommendation.

Please sign in to leave a comment.

Have more questions? Submit a request