|
1 | 1 | # github-ssh-key |
2 | | -github-ssh-key |
| 2 | +___github-ssh-key___ - GitHub ssh key manager. Console utility for creating, getting, testing, |
| 3 | +using public ssh keys for GitHub. |
| 4 | +*** |
| 5 | + |
| 6 | + |
| 7 | +[](https://pypi.org/project/github-ssh-key/) |
| 8 | +[](https://github.com/smartlegionlab/github-ssh-key/) |
| 9 | +[](https://github.com/smartlegionlab/github-ssh-key/blob/master/LICENSE) |
| 10 | +[](https://pypi.org/project/github-ssh-key) |
| 11 | +[](https://pypi.org/project/github-ssh-key) |
| 12 | +[](https://github.com/smartlegionlab/github-ssh-key/) |
| 13 | +[](https://github.com/smartlegionlab/github-ssh-key/) |
| 14 | +[](https://github.com/smartlegionlab/github-ssh-key/) |
| 15 | + |
| 16 | +*** |
| 17 | + |
| 18 | +Author and developer: ___A.A Suvorov___ |
| 19 | + |
| 20 | +*** |
| 21 | + |
| 22 | +## Supported: |
| 23 | + |
| 24 | +- Linux: All. |
| 25 | +- Termux (Android). |
| 26 | + |
| 27 | +*** |
| 28 | + |
| 29 | +## Images: |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +*** |
| 34 | + |
| 35 | +## What's new? |
| 36 | + |
| 37 | +### ___github-ssh-key v0.3.0___ |
| 38 | + |
| 39 | +- Improved work with help, added the ability to run commands directly from help. |
| 40 | +- Improved interface. |
| 41 | + |
| 42 | +*** |
| 43 | + |
| 44 | +## Description: |
| 45 | + |
| 46 | +___github-ssh-key___ - GitHub ssh key manager. Console utility for creating, getting, |
| 47 | +testing, using public ssh keys for GitHub. |
| 48 | + |
| 49 | +Possibilities: |
| 50 | + |
| 51 | +- Convenient interactive menu. |
| 52 | +- Generating ssh keys for GitHub. |
| 53 | +- Output ssh key to the console. |
| 54 | +- Adding ssh key to GitHub. |
| 55 | +- Checking the ssh key, testing the connection. |
| 56 | +- Interactive menu for working with the utility. |
| 57 | +- Interactive menu for help. |
| 58 | +- Launch the default browser with a page for adding ssh key on GitHub. |
| 59 | +- Cloning private repositories via ssh. |
| 60 | +- Running individual commands. |
| 61 | + |
| 62 | +*** |
| 63 | + |
| 64 | +## Help: |
| 65 | + |
| 66 | +### Install and use: |
| 67 | + |
| 68 | +#### Install: |
| 69 | + |
| 70 | +`pip install github-ssh-key` |
| 71 | + |
| 72 | +`github-ssh-key` |
| 73 | + |
| 74 | +#### Use: |
| 75 | + |
| 76 | +To access GitHub over ssh, you should run some sequence of actions. |
| 77 | + |
| 78 | +- Install openssh; |
| 79 | +- Generate new ssh keys; |
| 80 | +- Copy the public key; |
| 81 | +- Add your public key to GitHub; |
| 82 | +- Check the connection; |
| 83 | + |
| 84 | +This utility provides you with these capabilities. |
| 85 | + |
| 86 | +Adding a key to your GitHub account involves several steps: |
| 87 | + |
| 88 | +1. Generating new ssh key. |
| 89 | + - Install openssh, or make sure you have it installed with the ssh command. |
| 90 | + - During the generation process, enter your email that you use when working with GitHub. |
| 91 | + - Do not change the default file name. |
| 92 | + - Don't set a passphrase if you don't want to enter it every time. |
| 93 | +2. Copying ssh key. |
| 94 | + - Highlight and completely copy your ssh key. |
| 95 | +3. Adding ssh key to your GitHub account. |
| 96 | + - Highlight and completely copy your ssh key. |
| 97 | + - Add your ssh key to your GitHub account. |
| 98 | +4. Testing the ssh key (Testing the connection). |
| 99 | + - For a successful connection, you had to follow these steps: |
| 100 | + - Generate ssh key. |
| 101 | + - Highlight and completely copy your ssh key. |
| 102 | + - Add ssh key to your GitHub account. |
| 103 | + - If you did everything correctly, you will see a personalized greeting. |
| 104 | + |
| 105 | +Also, directly from the interactive menu, you can clone your private |
| 106 | +repository using ssh. |
| 107 | + |
| 108 | +To get help with commands, use: |
| 109 | + |
| 110 | +`github-ssh-key [command] -h` |
| 111 | + |
| 112 | +`github-ssh-key new -h` |
| 113 | +`github-ssh-key show -h` |
| 114 | +`github-ssh-key add -h` |
| 115 | +`github-ssh-key test -h` |
| 116 | +`github-ssh-key clone -h` |
| 117 | +`github-ssh-key help -h` |
| 118 | + |
| 119 | +#### Commands: |
| 120 | + |
| 121 | +`github-ssh-key [command] [args]` |
| 122 | + |
| 123 | +- run `github-ssh-key run` |
| 124 | +- new `github-ssh-key new -e [your email]` |
| 125 | +- show `github-ssh-key show` |
| 126 | +- add `github-ssh-key add` |
| 127 | +- test `github-ssh-key test` |
| 128 | +- clone `github-ssh-key clone -l [GitHub login] -n [repo name]` |
| 129 | + |
| 130 | + |
| 131 | +#### Variant 1: |
| 132 | + |
| 133 | +- Go to the project folder |
| 134 | +- `python setup.py install` |
| 135 | +- `github-ssh-key` |
| 136 | + |
| 137 | +#### Variant 2: |
| 138 | + |
| 139 | +- Install [python](https://python.org) |
| 140 | +- Go to the project folder |
| 141 | +- `pip install -r requirements.txt` |
| 142 | +- `python github-ssh-key.py` |
| 143 | + |
| 144 | +*** |
| 145 | + |
| 146 | +## Disclaimer of liability: |
| 147 | + |
| 148 | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 149 | + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 150 | + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 151 | + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 152 | + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 153 | + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 154 | + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 155 | + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 156 | + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 157 | + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 158 | + |
| 159 | +*** |
| 160 | + |
| 161 | +## Copyright: |
| 162 | + -------------------------------------------------------- |
| 163 | + Licensed under the terms of the BSD 3-Clause License |
| 164 | + (see LICENSE for details). |
| 165 | + Copyright © 2018-2024, A.A Suvorov |
| 166 | + All rights reserved. |
| 167 | + -------------------------------------------------------- |
0 commit comments