Remote Access Tool — Fast and lightweight CLI experience.
Project description
selahx_client
-
Remote Access Tool — Fast and lightweight CLI experience.
-
For educational purposes only.
Features
-
Basic Commands: Navigate the system (ls, cd, pwd), clear terminal, exit, or terminate sessions.
-
File Operations: Copy files/folders (cp, cpdir), remove files/folders (rm).
-
Media Commands: Capture screenshots, webcam images, record audio or screen.
-
System Commands: Control system functions (sleep, lock) and volume.
-
Internet Commands: Perform web or YouTube searches directly.
Usage
Help
slx client --help
slx save --help
Client
Start a client and connect to the server:
slx client --username user --port 1221
Options:
--username— Username for the client session--port— Server port to connect to
Transfer files from EC2 to Local
Start saving files:
slx save --key-file key.pem --ssh-host ubuntu@ec2-xx-xx-xx-xx.compute-1.amazonaws.com --dest ~/Downloads/test
Options:
--key-file— Path to the SSH private key--ssh-host— E.gubuntu@ec2-xx-xx-xx-xx.compute-1.amazonaws.com--dest— Destination folder~/Downloads/test— Example local destination path
i.e
Example Workflow
- Launch the server:
-
server package: https://pypi.org/project/selahx_server
slx --key-file key.pem --port 1221 --ssh-host ubuntu@ec2-xx-xx-xx-xx.compute-1.amazonaws.com
- Connect a client from your local machine:
slx client --username user --port 1221
Once connected, a reverse SSH tunnel is automatically established.
NB:
-
Ensure the port you configured on the target machine is open in your EC2 instance’s
inboundandoutboundrules, along withSSHfor remote access. -
Grant Terminal access to the file system and other necessary resources (e.g: camera).
-
Ensure your
.pemfile is executable. Check withls -l(e.g.,-rwx------@ 1 Abiy staff 1678 Nov 15 22:36 key.pem). -
If reverse tunneling fails to forward the connection, kill any active process using the same port. (use
kill $PID)
Requirements
- Python 3.11+
- Dependencies are managed via Poetry (see
pyproject.toml)
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 selahx_client-0.1.0.tar.gz.
File metadata
- Download URL: selahx_client-0.1.0.tar.gz
- Upload date:
- Size: 411.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.2 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46bc970d1b939d558edc882b793595bf36891aa06e1ab64aa5c45462d7770970
|
|
| MD5 |
271c856c59fd1d8cb8b310e350eac2bf
|
|
| BLAKE2b-256 |
466dccb3ab25203cb58727b2ab1dac9c18fbea8c86c0bc689bb23f1615dd2a2e
|
File details
Details for the file selahx_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: selahx_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 412.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.2 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c84c43b28f7d814532e094b24e30a3ba4130603eec9f45ebc9264349e6964eec
|
|
| MD5 |
ac3ee4c201f9bee2ac335744c52e5748
|
|
| BLAKE2b-256 |
ea94d9947bc9c485256df44f3cc71e2775dcbecdebb06f3eac1deb987e0a4934
|