Comments - MONyog ssh authentication using key
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.
I have checked the permissions and also checked if all the parameters are correct. but still i am getting the same error!!
Please follow the below steps:
1) Edit PasswordAuthentication line in /etc/ssh/sshd_config to "PasswordAuthentication no" to force RSA auth
2) Change the path for the file “authorized_keys” to some other directory like “/etc/ssh/user/authorized_keys”
3) Make the corresponding change in the “sshd_config” file, and change the value for “AuthorizedKeysFile” to AuthorizedKeysFile = /etc/ssh/user/authorized_keys
4) Restart sshd service (sudo service sshd restart)
Please tell us if this fixed the issue.
This doesnt solve the problem!!
Can you please tell what error do you get now.
Failed to connect to SFTP: SshConnectAuthorize: Could not get private key -- Access denied. Authentication that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
The problem got solved...Thanks!!
Could you tell us what was the solution to the issue here?
Just curious to know what was the issue and how did you get it solved.