如果不配置SSH公钥使用git远程仓库会怎么样?
来源:互联网 发布:seo网站推广 编辑:程序博客网 时间:2024/04/29 22:43
看了很多GIT的资料,发现git依赖ssh链接远程仓库,自然公钥是需要的。
好奇心是害死人的,我试验了下:
root@US000690:/btsom/SCM/learn-git# git clone git@10.121.120.73:/btsom/SCM/zk/learn_git/sample.git
Cloning into 'sample'...
git@10.121.120.73's password:
warning: You appear to have cloned an empty repository.
root@US000690:/btsom/SCM/learn-git# git push -u origin master
git@10.121.120.73's password:
Counting objects: 6, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (6/6), 435 bytes, done.
Total 6 (delta 0), reused 0 (delta 0)
To git@10.121.120.73:/btsom/SCM/zk/learn_git/sample.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
最终结果是,需要人工输入远程仓库git密码。然后一切都 OK。
这个问题可能会造成git与jenkins等CI工具集成的时候住。因为CI工具会帮你填密码的。
- 如果不配置SSH公钥使用git远程仓库会怎么样?
- Git 远程仓库/ssh
- git 配置远程仓库
- 配置多个git远程仓库的ssh-Key切换
- 配置多个git远程仓库的ssh-Key切换
- 配置多个git远程仓库的ssh-Key切换
- 配置多个git远程仓库的ssh-Key切换
- Git 使用(3)远程仓库设置SSH keys
- 使用 Git 远程仓库
- 使用git远程仓库
- Git使用-远程仓库
- 本地Git仓库与远程Github仓库的SSH连接配置
- Git采用SSH协议创建远程仓库
- 如果不写Order By子句,会怎么样
- git远程仓库的使用
- git远程仓库的使用
- 使用git管理远程仓库
- Git - 远程仓库的使用
- [LeetCode]Add Two Numbers
- hdu 1231_最大字段及其起始、终止位置
- 何振东怎么这样子呢?741711179
- YUV 格式说明
- C++虚函数的实现机制
- 如果不配置SSH公钥使用git远程仓库会怎么样?
- Android layout属性
- MongoDB的下载和安装
- hibernate save和update以及saveOrUpdate区别
- shell 参数处理
- 拷贝串
- Android项目中引用外部项目library失败的原因
- Linux下批量把GDK编码的文章转化为UTF-8编码的文章以及“iconv: 未知 xxx 处的非法输入序列”错误处理
- UVA 261 - The Window Property(字符串Hash)