No project description provided
Project description
git-ssh-key
manager multi git repo ssh keys in one machine, with multi private or public repo.
this command will auto generate the key and add it to your ssh config
usage
pip install git-ssh-key
run command with your repo link
git-ssh-key https://github.com/alingse/git-ssh-key.git
it will print the new alias repo link and the new public key,
New repo address: git@github.com-f5851eb:alingse/git-ssh-key.git
New repo public rsa key: /Users/alingse/.ssh/github.com-f5851eb.id_rsa.pub
you can add it to repo's setting keys
git-ssh-key --help
git-ssh-key --config your.ssh.config --keys your-ssh-keys/ your.repo
How
I ever see some stackoverflow and github gist, and just make them a tool
Develop
pdm install
pdm build
publish
add once
pdm config publish.username xxx
pdm config publish.password yyy
pdm publish
more TODO
- show public key ?
- better -c -k ?
- more error checking raise click.ClickException
- replace os.system
- add more test ?
- support duplicate keys ?
- better giturlparse
- allow user generate the key first
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-ssh-key-0.1.1a1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for git_ssh_key-0.1.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85011e67c27131d7ea92452566c24cd35f69d798989453634f4383301f0abab3 |
|
MD5 | 1798ad6a58808236adc9a86e51133fea |
|
BLAKE2b-256 | 07334d05d5bd2b684fcf6ab4ecc060dc7a87f812ee488b74214705e5febd4e4a |