竹磬网-邵珠庆の日记 生命只有一次,你可以用它来做些更多伟大的事情–Make the world a little better and easier


27月/130

公钥私钥的生成与维护

发布在 邵珠庆

0.在cd用户主目录(~) 进入用户目录,建立.ssh目录
1.在一个linux机器,自己的目录下执行 ssh-keygen -t rsa -C 自己名字的全拼@xxxx.com。 比如我的就用
ssh-keygen -t rsa -C shaozhuqing@xxxx.com
2.接下来,会出现Enter file in which to save the key
(/home/shaozq/.ssh/id_rsa): 这时, 起名字为 id_rsa
3.接下来,会出现En[......]阅读全文