I'm not big on ubuntu, but I managed to configure git on my client and gitosis on the server I'm proud of. I added my local ssh public key to the authorized keys for gitosos and can clone, push, commit, etc. Everything works fine, from my local machine to the server - back and forth.
However, since the server also serves as my web server, I just need to connect to the server and make "git clone git @localhost: gitproject.git" in one of my webroot folders, but it just doesnβt work.
Should I add a server pub key to authorized hosts? And if so, how? Or is there any other way to do this?
thanks
Mike
source share