{"repo":"tw-yshuang/Git_SSH-Account_Switch","free":true,"listed":false,"github":"https://github.com/tw-yshuang/Git_SSH-Account_Switch","clone":"git clone https://github.com/tw-yshuang/Git_SSH-Account_Switch.git","description":"A CLI tool can switch ssh account to your current shell. You will easily switch to your git account & ssh key when using the server, and using your account to manipulate the project on the server.","language":"Shell","stars":228,"topics":["ssh","ssh-key","ssh-keygen","switch-access","easy-to-use","easy-setup","easy-setup-tool","git-config","git-switch","ssh-switch"],"license":"MIT","category":"cli-tools","readme_excerpt":"Git SSH-Account Switch A CLI tool can switch ssh account to your current shell. You will easily switch to your git account & ssh key when using the server, and using your account to manipulate the project on the server. NOTE : This tool is for the user who using Zsh on the UNIX/Linux platfrom. Installation it will add some code in your profile & $logout profile , and setup git-acc & .gitacc on the $HOME . \\ file: git-acc.sh - $HOME/.git-acc, git-acc function.\\ .gitacc - $HOME/.gitacc, save info. that regist on git-acc . Control SWITCH ACCOUNT When you want to use the account that you have already added it, you can type: Then it will come out the current account that registers in the git-acc to let you choose, e.g. ADD It will ask you to type: After that, git-acc will generate id rsa , id rsa .pub in the $HOME/.ssh . \\ Next, you can type $ git-acc , to login your account.\\ NOTE: You also can overwrite your account. CHOOSE YOUR SSH-KEY TYPE If you do not want to use rsa type to create your ssh-key, you can use this: This args is following ssh-keygen -t rule, you can type corresponding key type you wnat! \\ Types: dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa(default) REMOVE It will ask you to type: LOGOUT Logout your ssh-acc perfectly at CLI mode. LIST Display all registered accounts with their email addresses. This helps you see which accounts are available for switching. Example output: DEFAULT ACCOUNT Set a default account that automatically loads when you open a new shell. Set D","default_branch":null,"files":null,"tree":[],"storefront":"/r/tw-yshuang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tw-yshuang/Git_SSH-Account_Switch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}