1. 首先安装: puttygen
ubuntu :
或者下载
http://the.earth.li/~sgtatham/putty/latest/putty-0.62.tar.gz
2. ppk 文件转化 openssh key
private key :
public key:
3. 将产生的public key 在git server 服务端更新
ubuntu :
- sudo apt-get install puttygen-tools
或者下载
http://the.earth.li/~sgtatham/putty/latest/putty-0.62.tar.gz
2. ppk 文件转化 openssh key
private key :
- puttygen /path/to/puttykey.ppk -O private-openssh -o ~/.ssh/id_rsa
public key:
- puttygen /path/to/puttykey.ppk -O public-openssh -o ~/.ssh/id_rsa.pub
3. 将产生的public key 在git server 服务端更新