一键安装 sshkey

使用

Github操作

1.打开项目地址:

https://github.com/KiritoMiao/SSHKEY_Installer

2.fork这个项目

3.进入

https://github.com/[你的Github用户名]/SSHKEY_Installer/edit/master/key.sh

4.编辑第十行,将

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyjhmEbiU469K3lA/oUc4UK+hDkyO9B+twdlpzTe6K5hYDJbrf0XxDe5z9mlmhvbQaDOSJj185hffR3hFk1VxHU4tRHZaCxDmrOA+PLfRX0P9H2fziYPuy/AsgwZAT+vK3JGNGJm+2+WJtH8POwn1q2f4uzsNAgIAueOgyUojHSvXgrbrJ3ehMqt89Gkz4spr8DxGpMGelPqqQ8Z2aCigbt10CpoC6KYTka8TphiwYNjyKzYOc+eEeYwrve7w3RSIA8D83a1RNC7j7ueONU5AmGVQz0r7LSskdJB40CcejkWx0VT0yTaj+hsZB7wsGETwYEIVD0SPMeQe05HAiEMkN

修改为自己的Key

服务器操作

wget https://raw.githubusercontent.com/[你的Github用户名]/SSHKEY_Installer/master/key.sh
bash key.sh

原文:https://www.ixh.me/2017/07/sshkey-installer/

Published by

@XiaoKyun

双鱼男,过分热心的好人。