刚才偶然看见某前辈在github搭建了自己的blog。
觉得有些炫酷,顿时想搞一个试试。
想想自己许些日子前注册 过的github的帐号,但是却一份都代码都没传过,只是fork了别人的代码学习学习。惭愧惭愧。
于是在实验室的电脑配置msysgit,打算开始github之路
结果遇到了问题。
遂google一下。找到了一个不错的解决办法、
http://stackoverflow.com/questions/7144811/git-ssh-error-connect-to-host-bad-file-number
中文的意思大致就是在你的id_rsa的相同目录下添加个config文件,把下面的话粘贴进去。
Host github.com
User vain
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
成功。
stackoverflow果然是个寻道解惑的好地方。
分享到:
相关推荐
github github_ssh拉取github仓库报错connect to host github.com port 22_ Connection refused
github_ssh拉取github仓库报错connect to host github.com port 22: Connection refused 的解决方法
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
git-for-windows.github.io, 用于 Windows的upcoming版本 2.x的网站 Windows 主页的Githttp://git-for-windows.github.io/开发git clone https://github.com/git-for-windows/git-for-windows.gi
torch 项目完整代码,公司无法使用git,所以放了个备份在csdn上 (git clone https://github.com/torch/distro.git ~/torch --recursive)
czbk公开课笔记git 两小时学会Git玩转Github.doc。 czbk公开课笔记git github,git 两小时学会Git玩转Github.doc。
ssh: connect to host github.com port 22: Connection timed out 解决方法: 在C:/Users/DELL/.ssh/中新建一个config文件 并写入: 重新执行 $ git push -u origin master: 这个方法是从国外一个人的博客中找的...
快速开始(1)克隆仿真及其依赖项: git clone https://github.com/phetsims/assert.gitgit clone https://github.com/phetsims/axon.gitgit clone https://github.com/phetsims/babel.gitgit clone ...
红外弱小目标数据集(https://github.com/wanghuanphd/MDvsFA_cGAN.git) 删除了部分损坏的图像
gitblog-io.github.io, 轻松地将文章发布到github页面 Gitblog( www.gitblog.io )Gitblog是程序员将文章发布到github页面的一种工具。函数:不同用户页面( 组织或者其他页面用户) 之间的switch添加,编辑和删除文章...
解决git clone时报错问题:sign_and_send_pubkey: signing failed: agent refused operation
git clone https://github.com/git-for-windows/git-for-windows.github.io.git (此仓库) 安装 (包含“ npm”程序包管理器) 安装Grunt: npm install -g grunt-cli 安装Node.js的依赖项: cd git-for-windows....
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
git-lfs.github.com Git LFS入门微型站点。 预览: 本地克隆: git clone https://github.com/git-lfs/git-lfs.github.com.git 运行Jekyll: script/server 在本地浏览器中查看: 执照 生成站点的代码(不包括...
gitCommands, 关于如何使用 & Github.com,简单指南 基本Git命令为 1st 时间创建联机存储库 !# navigated into your folder you want to put on Github$ touch README.md # create a fil
开始一直报错Failed to connect to raw.githubusercontent.com port 443: Connection refused error: Error: 7, 尝试过改动git config的代理,没有用, 换中科大的源,也没有用 最后解决办法如下,重装command line...
git安装与配置,github远程仓库
转载别人做好的东西,非常的好 之前在CSDN中,也尝试了很多发送邮件的代码,总是遇到各种各样的问题, 现在找到了这个好东东,和大家分享... git clone git://github.com/bluetiger9/SmtpClient-for-Qt.wiki.git */