How to Access Git Repository via SSH
来源:互联网 发布:淘宝助理有什么好处 编辑:程序博客网 时间:2024/06/01 09:29
Example
Condition
There is a connection between ssh client and ssh server;
ssh testuser@testsshd.example.net
Config
Create a config in ~/.ssh/
cd ~cd .sshvim config... ...cat config
Contents of ~/.ssh/config
Host testsshd HostName testsshd.exmple.net User testuser IdentityFile ~/.ssh/keys/testuser.private.rsakeyHost OtherAlias HostName other.example.net User otheruser IdentityFile ~/.ssh/keys/otheruser.private.rsakey
remeber to chmod rsakey less access:
chomd 600 ~/.ssh/keys/testuser.private.rsakey
Test Connection via config
ssh -v testsshd... balabala ...<Connection OK>
Git Clone via SSH
git clone ssh://testsshd/~/website.git
Syntax
- git clone [protocol]://[alias]/[path]
0 0
- How to Access Git Repository via SSH
- Remote Access to IPython Notebooks via SSH
- How to access url via wifi in blackberry emulator
- 如何使用SSH向IPOD Touch2传输文件 - How to SSH into iPod Touch 2G [Transfer Files, Apps via SSH Access] 如何使用SSH向IPOD Touch2传输文件 - How to S
- how to clone a git repository to local
- How to import existing GIT repository into another?
- How to run (git/ssh) authentication agent?
- GIT SSH Repository Server
- How to access ssh terminal in web browser on Linux
- Hawq学习笔记 --- How to access HDFS data via GPDB external table with gphdfs protocol
- How to use ssh proxy to visit openstack code repository (by quqi99)
- How to set up a repository's origin branch to be SSH
- How to use SSH Via HTTP Proxy using Corkscrew in Ubuntu
- How to Push a New Local Branch to a Remote Git Repository
- How to Connect to Oracle via JDBC
- How to use GIT on Client side (Through SSH)
- How to add local administrator via cmd
- how to create workflow diagram via vosio
- jQuery中serializeArray serialize()区别
- python sorted()函数
- arcgis 坐标系
- hadoop学习资料
- 20160509 SQL_通配符
- How to Access Git Repository via SSH
- Bootstrap使用记录–paginator分页
- 什么是对象?
- PPT的恢复
- 必须知道的Android屏幕自适应解决方案
- 《Android 开发艺术探索》笔记——(3)View 的事件体系
- 生产者/消费者问题java实现
- Linux中后面带有波浪号的文件
- Logstash之日志多行合一行(日志错行)