A tool to manage SSH connections and their passwords
Project description
logins.sh (LoginSSH)
Works with tmux and fzf. You don't need to do a separate configuration to enable it, if you are in tmux, it will use tmux. If fzf binary is in path, it will use fzf to show the list of SSH connections, then depending on the choice, it will open up the SSH connection into that instance.
Depends on sshpass when the instance has a password.
To add autocomplete features, run this:
# in zsh
# add this to ~/.zshrc
eval $(_LOGINSSH_COMPLETE=zsh_source loginssh)
# in bash
# add to ~/.bashrc
eval $(_LOGINSSH_COMPLETE=bash_source loginssh)
# in fish
# add this to ~/.config/fish/completions/loginssh.fish
eval (env _LOGINSSH_COMPLETE=fish_source loginssh)
How to install?
From pip:
# requires python3.9
python3.9 -m pip install loginssh
For main branch,
git clone https://github.com/nikochiko/loginssh && cd loginsshpip3 install -e loginssh
Why did I do this?
I enjoyed making this.
I didn't have to write this. I could use something already available, but then I wouldn't have gotten to also rewrite ORMs and password managers. Yes, hidden in this repository is a mini ORM and a mini password manager. I also like to flex that I use my own tools.
Note
I won't be actively pushing code to this repo. I will keep using it for my personal use, but most probably that won't be needing any more changes.
That being said, it will make me extremely happy if someone else is using it. If you are using it, you are in no way compelled to suggest improvements, but that will also make me happy.
Another note
(not affiliated to logins.sh in way... yet)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loginssh-0.1.tar.gz.
File metadata
- Download URL: loginssh-0.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fe5f51c8800fa0248a316da1d777feef7a848ddee60515327025a5f3b8e3e0b
|
|
| MD5 |
69f2bcebd5c291498c247f6fdd0c49c5
|
|
| BLAKE2b-256 |
94a2a6a1f9f1625ef34dda06a4d71ef1d383f08a1a070ae72ea2d0dfd20a0875
|
File details
Details for the file loginssh-0.1-py3-none-any.whl.
File metadata
- Download URL: loginssh-0.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
864644e0fb59560165e3889c149c438c4d4660d11a1c70529c3921b71fb3c2fa
|
|
| MD5 |
1f59becb56fc7e4168ade9ced98d98c6
|
|
| BLAKE2b-256 |
078dd60d97b54e8544d4e00cbf4852353581f86e9a34508840f00ae5cad54351
|