Hello fellow coders/hackers<br><br>I have recently been trying to push changes to git via ssh however I ran into problems and I tried various options<br>which none of them seem to work. I was talking to Boemann and informed me that all of his students have similar<br>
difficulties and so I decided to start up a thread where we can toss around a few ideas. This is what I did:<br><br>1.) I generated the keys using: ssh-keygen -t rsa<br>2.) I saved them to the default ~/.ssh location<br>3.) I uploaded the public on kde identity<br>
4.) I set ~/.ssh/config as: Host *.<a href="http://kde.org">kde.org</a><br> User buttigieg<br> IdentityFile ~/.ssh/id_rsa<br>
5.) I set .gitconfig as: <br>[url "ssh://<a href="http://git@git.kde.org/">git@git.kde.org/</a>"]<br> insteadOf = kde:<br>[user]<br> name = Samuel Buttigieg<br> email = <a href="mailto:sambut1987@gmail.com">sambut1987@gmail.com</a><br>
[push]<br> default = current<br>[color]<br> diff = auto<br> status = auto<br> branch = auto<br> interactive = auto<br> ui = true<br> pager = true<br><br>6.) I also sett he access rights:<br>
chmod 700 $HOME/.ssh<br>chmod 600 $HOME/.ssh/id_rsa<br>chmod 600 $HOME/.ssh/id_rsa.pub<br><br>7.) waited two days for key to be synced<br><br>However each time I try to do a git push origin master<br>or ssh -v <a href="http://git.kde.org">git.kde.org</a> <br>
<br>I get: Permission denied (publickey) all the time.<br><br><b>Can someone who has or had a similar problem throw some ideas?</b><br><br>Thanks for your help,<br>Samuel