This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

MONyog ssh authentication using key

I have monyog installed on server a and mariadb on server b. When i give the key for ssh connection on a user on b it gives me error "Could not get private key:access denied. What is this error and why do we have to give private key??

Answer Answered by Sibin AS in this comment.

Since you are using key based SSH Authentication, you need to generate the ssh key pair first. After generating the key pair, the keys will be copied to ./ssh directory by default ( it is recommended, to use default location, doing so will allow your SSH client to automatically find your SSH keys when attempting to authenticate). The error “Could not get private key:access denied” shows up when the user does not have the permission to read the private key file (you can try changing the directory permission where the file is located and then check)

You may write to support@webyog.com if you have any queries. Sibin (Webyog)

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.