社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
[root@localhost ~]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:CvE7bPPDYb1EnQsGsDjs8uqUoiW2XH8g36ycVixmJBw root@localhost.localdomain
The key's randomart image is:
+---[RSA 2048]----+
| .. |
| E . .. |
| . * . . . . |
| + = + o |
| . = o S+ . . |
| = B =o o . |
|o.+.* &o o . |
|+=o.o+.Bo . |
|.+o .=o .. |
+----[SHA256]-----+
[root@localhost ~]#
用记事本打开文件,然后拷贝内容到github
[root@localhost boost_1_67_0]# git remote add origin git@github.com:zzpu/boost.git
[root@localhost boost_1_67_0]# git push -u origin master
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!