<Mrowj43--3-2@tuta.io>
Hi there! I'm trying to push my local repo to a remote that I created at https://sr.ht/~pariahkite/returning_to_ourselves/ I used this guide: https://man.sr.ht/tutorials/set-up-account-and-git.md And did the following: 1. I've my local repo located on my GNU/Linux system at `/home/pariahkite/Drive/Mine/Therapy/SAND` 2. I created the remote repo seen at https://sr.ht/~pariahkite/returning_to_ourselves/ 3. Ran `ssh-keygen`, naming the key as `sourcehut` and gave a passphrase. I've no other keys. 4. Ran `git remote add origin git@git.sr.ht:~pariahkite/returning_to_ourselves` and there were no errors. 5. When I try `git push -u origin main`, I get the following error: git@git.sr.ht: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Please help. pariahkite
<20211226054346.vnogoszk6jvewvqq@microconnector>
<Mrowj43--3-2@tuta.io>
(view parent)
On 21/12/26 05:21AM, pariahkite@tuta.io wrote: > Hi there! > > I'm trying to push my local repo to a remote that I created at https://sr.ht/~pariahkite/returning_to_ourselves/ > > I used this guide: https://man.sr.ht/tutorials/set-up-account-and-git.md > > And did the following: > 1. I've my local repo located on my GNU/Linux system at `/home/pariahkite/Drive/Mine/Therapy/SAND` > 2. I created the remote repo seen at https://sr.ht/~pariahkite/returning_to_ourselves/ > 3. Ran `ssh-keygen`, naming the key as `sourcehut` and gave a passphrase. I've no other keys. > 4. Ran `git remote add origin git@git.sr.ht:~pariahkite/returning_to_ourselves` and there were no errors. > 5. When I try `git push -u origin main`, I get the following error: The step that seems to be missing is placing your public key on the site. https://meta.sr.ht/keys is the page you will want to add your public key to so that it can authenticate with your created private key.
<MrpJ3u2--3-2@tuta.io>
<20211226054346.vnogoszk6jvewvqq@microconnector>
(view parent)
> The step that seems to be missing is placing your public key on the > site. > > https://meta.sr.ht/keys is the page you will want to add your public key > to so that it can authenticate with your created private key. > Oops! Sorry, I'd missed including the step when I wrote the email. I'd actually added the public key to https://meta.sr.ht/keys just before step 4.
<20211226135046.6a25e42c@inspiro.localdomain>
<Mrowj43--3-2@tuta.io>
(view parent)
On Sun, 26 Dec 2021 05:21:07 +0100 (CET) pariahkite@tuta.io wrote: > Hi there! > > I'm trying to push my local repo to a remote that I created at > https://sr.ht/~pariahkite/returning_to_ourselves/ > > I used this guide: > https://man.sr.ht/tutorials/set-up-account-and-git.md > > And did the following: > 1. I've my local repo located on my GNU/Linux system at > `/home/pariahkite/Drive/Mine/Therapy/SAND` 2. I created the remote > repo seen at https://sr.ht/~pariahkite/returning_to_ourselves/ 3. Ran > `ssh-keygen`, naming the key as `sourcehut` and gave a passphrase. > I've no other keys. Have you set the SSH config to point to your key? [1] [1] https://man.sr.ht/tutorials/set-up-account-and-git.md#specifying-a-key -- { "github":"github.com/shuLhan", "site":"kilabit.info" }
<CGP24QQZVSZ6.27FC5A03VCKSD@megumin>
<Mrowj43--3-2@tuta.io>
(view parent)
On Sun Dec 26, 2021 at 5:21 AM CET, wrote: > Hi there! > > I'm trying to push my local repo to a remote that I created at > https://sr.ht/~pariahkite/returning_to_ourselves/ > > I used this guide: https://man.sr.ht/tutorials/set-up-account-and-git.md > > And did the following: > 1. I've my local repo located on my GNU/Linux system at > `/home/pariahkite/Drive/Mine/Therapy/SAND` > 2. I created the remote repo seen at > https://sr.ht/~pariahkite/returning_to_ourselves/ > 3. Ran `ssh-keygen`, naming the key as `sourcehut` and gave a > passphrase. I've no other keys. This is probably the problem. Leave this blank to use the default name of id_rsa instead, or configure SSH to use your custom name. Kind of a footgun in ssh-keygen I guess.
<Mrph8er--3-2@tuta.io>
<CGP24QQZVSZ6.27FC5A03VCKSD@megumin>
(view parent)
> Leave this blank to use the default name
of id_rsa instead
That did it for me! Thanks so much people! :D
<Mrpiv9F--3-2@tuta.io>
<20211226135046.6a25e42c@inspiro.localdomain>
(view parent)
> Have you set the SSH config to point to your key? [1] > I'd skipped that step as I am not using any other keys on the system.