github - How to set up multiple different deployment public keys in GIT?
某草草
某草草 2017-05-02 09:42:24
0
2
1023
There are two deployment public keys in

/home/www/.ssh/id_rsa

---begin---
github
--end--
---begin--
git.oschina.net
---end--

There is no problem using clone from github, but it will not work if you change to other public keys (platforms). The error message is as follows:

RSA key fingerprint is 98:ab:2b:30:60:00:82:86:bb:85:db:87:22:c4:4f:b1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '101.70.156.64' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
某草草
某草草

reply all(2)
刘奇

Solved
Just add new rules in ~/.ssh/config.

给我你的怀抱

http://blog.sina.com.cn/s/blo...
Just modify the config

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template