ssh-keygen -t rsa -C “你的邮箱” ssh -T git@github.com gitconfig –global user.name “用户名” gitconfig –globaluser.email “邮箱” cd目标盘/目标文件夹 gitinit gitremoteaddo ...
分类:
其他好文 时间:
2017-08-16 14:01:37
阅读次数:
287
这次在配置github时,我出现了问题,就是在我装好Git以后,我打开Git Bash,输入了这句代码:$ ssh-keygen -t rsa -C "your_email@youremail.com",改为自己在github上创建账号时使用的邮箱后,我按照教程一直回车下去,Git Bash中也提示 ...
分类:
其他好文 时间:
2017-08-15 19:58:58
阅读次数:
142
git相关内容: 产生密钥:cd ~/.ssh (C:\Users\账户名称\.ssh)生成密钥:ssh-keygen -t rsa -C "your_email@youremail.com"Enter就行。然后,会提示你输入密码,如下(建议输一个,安全一点,当然不输也行):添加公钥到你的githu ...
分类:
移动开发 时间:
2017-08-11 18:31:45
阅读次数:
227
1、给用户配置ssh密钥,让其它用户也能访问别人创建的仓库ssh-keygen -t rsa -b 4096 -C "serverking6@163.com" 2、查看git配置git config --list 3、替换全局用户和邮箱地址git config --global --replace- ...
分类:
其他好文 时间:
2017-08-10 17:01:54
阅读次数:
94
一、Git终端软件安装 1、下载windows上git终端,类似shell工具,下载地址:http://msysgit.github.io/ 2、安装方法,打开文件,一路点击Next即可 3、安装完成,界面如下 二、配置 1、打开git bash,输入ssh-keygen -t rsa -C "自己 ...
分类:
Web程序 时间:
2017-08-10 10:21:00
阅读次数:
199
输入命令 ssh-keygen -t rsa -C 'LoginName' 根据命令生成的地址找到对应文件复制密钥 打开github登录你的帐号 将key 复制到 SSH和GPG密钥 输入命令ssh -T git@github.com git config --list git config --g ...
分类:
其他好文 时间:
2017-08-09 23:48:14
阅读次数:
193
使用Git Bash生成新的ssh key。 $ cd ~ ///保证当前路径在”~”下 $ ssh-keygen -t rsa -C "你的邮箱地址" ///建议填写自己真实有效的邮箱地址 结果: Enter file in which to save the key (/c/Users/xxxx ...
分类:
其他好文 时间:
2017-08-08 17:52:34
阅读次数:
292
一 gitlab 添加sshkey 终端生成key 1 ssh-keygen -t rsa -C "yourmail@xx.com"//github邮箱地址 密码验证 成功标志 2 ssh-add id_rsa.pub //添加到known_hosts 3 cat id_rsa.puh //获得ke ...
分类:
其他好文 时间:
2017-08-07 13:54:49
阅读次数:
89
1.安装yuminstallgitgit-gui2.生成密钥对ssh-keygen-trsa-C"github邮箱地址"1、首先要检查key是不是已经存在,2、打开一个终端,并输入以下命令:$ls-al~/.ssh如果结果列表中包含以下文件,则不需要在生成新的KEY,可以直接使用。id_dsa.pubid_ecdsa.pubid_ed25519.pubid_rsa.p..
分类:
其他好文 时间:
2017-08-07 01:31:37
阅读次数:
160
#ssh-keygen-trsa
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):
Enterpassphrase(emptyfornopassphrase):
Entersamepassphraseagain:
Youridentificationhasbeensavedin/root/.ssh/id_rsa.
Yourpublickeyhasbeensavedin/root/.ssh/i..
分类:
系统相关 时间:
2017-08-06 10:42:05
阅读次数:
195