P3TERX / SSH_Key_Installer

Install SSH keys via GitHub, URL or local files

Home Page:https://p3terx.com/archives/ssh-key-installer.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSH Key Installer

LICENSE GitHub Stars GitHub Forks

Install SSH keys via GitHub, URL or local files

Read the details in my blog (in Chinese) | 中文教程

Usage

bash <(curl -fsSL git.io/key.sh) [options...] <arg>

Options

  • -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

Lisence

MIT © P3TERX

About

Install SSH keys via GitHub, URL or local files

https://p3terx.com/archives/ssh-key-installer.html

License:MIT License


Languages

Language:Shell 100.0%