Install SSH keys via GitHub, URL or local files
Read the details in my blog (in Chinese) | 中文教程
bash <(curl -fsSL git.io/key.sh) [options...] <arg>
-o- Overwrite mode, this option is valid at the top-g- Get the public key from GitHub, the arguments is the GitHub ID-u- Get the public key from the URL, the arguments is the URL-f- Get the public key from the local file, the arguments is the local file path-p- Change SSH port, the arguments is port number-d- Disable password login
MIT © P3TERX