Problem When Installing Gogs From Source


#1

When running the command go get -u github.com/gogits/gogs I get the prompt:
# cd .; git clone https://github.com/gogits/gogs /home/gogs/go/src/github.com/gogits/gogs
Cloning into '/home/gogs/go/src/github.com/gogits/gogs'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
package github.com/gogits/gogs: exit status 128

Is there something I have to fix with my SSH key?


Update:
So I figured it had something to do with my SSH key. On a hunch, I figured if setting up ssh keys on the /home/gogs/ since I’m on user gogs right now would help… so I generated a pair key for the gogs user and added it to my ssh agent. So now when I run go get -u github.com/gogits/gogs I get a prompt asking for my passphrase to which I input it, however nothing happens. It just flashes back to gogs@raspberry: $