Skip to content
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

无法push的新问题 #65

Open
SSSSizn opened this issue Jan 20, 2024 · 2 comments
Open

无法push的新问题 #65

SSSSizn opened this issue Jan 20, 2024 · 2 comments

Comments

@SSSSizn
Copy link

SSSSizn commented Jan 20, 2024

之前上传的时候遇到了push不了的情况,改为热点连接后成功上传。
今天再次出现,根据之前的解答创建config文件编辑后重新push,显示“terminating, 1 bad configuration options ”,输入指令“ssh -T [email protected]”之后,显示也从端口连接超时变为了“ssh: Could not resolve hostname github: Name or service not known” 如何解决呢?

@andyhuang18
Copy link
Collaborator

如果本地无法push,在网页端上传也是一种方法...

image

@cuso4lxt
Copy link

“bad configuration options”、“SSH无法解析主机名github”。会不会是哪里的格式写错了?主机名写错了呢?
“Host github.com
User YourEmail(邮箱地址)
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443” 我的config当时这个形式配置就解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants