dwyl / dwyl/gogs-server

ssh connection denied

Open
#2 23 comments 0 reactions 1 assignee Claimed by @SimonLab View on GitHub
help wanted
Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I've created a new account on https://gogs-server.fly.dev/ and added my existing public ssh key to my new account:

- check if I have existing ssh keys on my machine: `ls ~/.ssh` show `id_rsa` and `id_rsa.pub` and `known_hosts` files.
- copy the public key `cat id_rsa.pub` then copy paste the content https://gogs-server.fly.dev/user/settings/ssh

- I've created a new organisation and repository and try to clone it with `git clone ssh://git@gogs-server.fly.dev:10022/theorg/myrepo.git`
However I have the following error:
![image](https://user-images.githubusercontent.com/6057298/167426787-711d2048-5106-4009-a332-2e97d050b4aa.png)

I'm looking at creating new keys (without breaking the existing one) and to try to setup the new private/public key to be used wit the gogs server only. I think I might need to create a config file to select the correct ssh key depending on the host.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.