ssh-for-lab
A script which can directly login the lab's server without knowing the IP.
The script works very simply. Check if the hostname is 'lab'. if so, find the newest IP address from the website, replace hostname with IP address, and then give the transformed command to 'os system'.
Installation
pip install labssh
How To Use
- just print IP
labssh
- use 'lab' as hostname to login lab's server
labssh root@lab
- just use as ssh
labssh root@172.26.153.20 -p 220
Metadata
Release files for labssh 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| labssh-1.0.2.tar.gz | 2.6 kB | Without provenance | Details for labssh-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labssh-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for labssh-1.0.2-py2.py3-none-any.whl |
Total release size: 5.5 kB
Release files / labssh-1.0.2.tar.gz
| Download URL | labssh-1.0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7302bae36d1d97766f796f89602b7dde621534f5db0fd474e042b460b4f52656
|
|
BLAKE2b-256 checksum How to use checksums |
30eaa8fb831fdfc0b649203ab425b714a743966f30f169085acca21509ce0d47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
|
Release files / labssh-1.0.2-py2.py3-none-any.whl
| Download URL | labssh-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f535f2f429fc95305c6445c27a805006add2a8855ef0eea6b934672053dcc8d1
|
|
BLAKE2b-256 checksum How to use checksums |
6173610d87daefcb556e4413d9382bb8faf22b69fb0ffdfaf312879ca09e1ede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
|
Security for labssh 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.