Skip to content

Can't migrate the github repo with ssh protocol #19096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hansen6878 opened this issue Mar 15, 2022 · 1 comment
Closed

Can't migrate the github repo with ssh protocol #19096

hansen6878 opened this issue Mar 15, 2022 · 1 comment
Labels
issue/duplicate The issue has already been reported.

Comments

@hansen6878
Copy link

hansen6878 commented Mar 15, 2022

Gitea Version

1.16.4

Git Version

2.20.1

Operating System

debian10(bluster)

How are you running Gitea?

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

In my network environment, it is very unstable to migrate github repo with https protocol(git clone https://github.com/ownxxx/repoxxx.git), so I have to use ssh protocol(git clone [email protected]:ownxxx/repoxxx.git) to migrate github repo.
when i use the migrate feature of gitea to mirror github repo, and type the ssh url([email protected]:ownxxx/repoxxx.git), it will show the invalid URL message: "is not a valid URL."
does gitea really support migrate github repo with ssh protocol now? or it's my migrate method is wrong?

BTW: i have make and setup the pair of RSA ssh key for github, and can clone the repo successfully with raw command method on the terminal.

thanks a lot!

Screenshots

No response

@hansen6878 hansen6878 changed the title can't migrate the github repo with ssh protocol Can't migrate the github repo with ssh protocol Mar 15, 2022
@techknowlogick
Copy link
Member

closing as dupe of #1635

@techknowlogick techknowlogick added the issue/duplicate The issue has already been reported. label Mar 15, 2022
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

2 participants