I am trying to clone my private repository from bitbucket to cpanel powered hosting,its 90.XX i think thats the recent one. And i have read existing questions and answers, From that i got some clues and tried to fix it as musch as i can. So dont make mark my question as duplicate before understand my question clearly.
For my i created properly the RSA private and public key's and it works fine with local cloning to my pc and push, pull changes and it works absolutely fine. no issues. But from cpanel server it fails to connect and shows error like this
Permission denied (publickey). fatal: Could not read from remote repository.
So i tried to find a solution from stackoverflow, with experts solutions, From that answers i found something strange. Probably, someone help me to fix it.
$ssh -T [email protected]
I tried this command in both local and server. local shows
You can use git or hg to connect to Bitbucket. Shell access is disabled.
But in server it asks the Passphrase 3 times and finally it shows permission denied. Looks like something i need to know to fix it.
$ ssh -T [email protected]
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Permission denied (publickey).
I tried to make clone by reading [this tutorial][1]. I am expecting solution from experts to fix it. I already spent hours and hours and got tired of doing it.
[1]: Guide to Git™ - Set Up Access to Private Repositories | cPanel & WHM Documentation
For my i created properly the RSA private and public key's and it works fine with local cloning to my pc and push, pull changes and it works absolutely fine. no issues. But from cpanel server it fails to connect and shows error like this
Permission denied (publickey). fatal: Could not read from remote repository.
So i tried to find a solution from stackoverflow, with experts solutions, From that answers i found something strange. Probably, someone help me to fix it.
$ssh -T [email protected]
I tried this command in both local and server. local shows
You can use git or hg to connect to Bitbucket. Shell access is disabled.
But in server it asks the Passphrase 3 times and finally it shows permission denied. Looks like something i need to know to fix it.
$ ssh -T [email protected]
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Enter passphrase for key '/home/kvc/.ssh/id_rsa':
Permission denied (publickey).
I tried to make clone by reading [this tutorial][1]. I am expecting solution from experts to fix it. I already spent hours and hours and got tired of doing it.
[1]: Guide to Git™ - Set Up Access to Private Repositories | cPanel & WHM Documentation