https://github.com/aarkue/rust-slurm
https://github.com/aarkue/rust-slurm
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aarkue/rust-slurm
- Owner: aarkue
- Created: 2024-10-10T08:57:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T12:46:39.000Z (about 1 year ago)
- Last Synced: 2025-07-01T13:51:23.179Z (about 1 year ago)
- Language: TypeScript
- Size: 980 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
Currently, the program expects the env variables `SSH_KEY_PATH`, `SSH_USERNAME`, and `SSH_HOST` to be set.
Instead of `SSH_KEY_PATH` a combination of `SSH_PASSWORD` and `SSH_MFA` can be used instead.
To run the program specify it before cargo run, for instance as follows:
```
SSH_USERNAME=you SSH_KEY_PATH=~/.ssh/id_your_key SSH_HOST=hpc.example.com cargo run --release
```
or
```
SSH_USERNAME=you SSH_PASSWORD="your-pw" SSH_MFA=31234 SSH_HOST=hpc.example.com cargo run --release
```