mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-10 11:47:45 +02:00
Amp-Thread-ID: https://ampcode.com/threads/T-019c195d-0f3b-724a-946a-a3a93dd7d09b Co-authored-by: Amp <amp@ampcode.com>
34 lines
635 B
Markdown
34 lines
635 B
Markdown
# SSH Test Container
|
|
|
|
Ubuntu 22.04 container with SSH server for testing osmedeus SSH runner.
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Build and start
|
|
docker-compose up -d --build
|
|
|
|
# Test SSH connection
|
|
ssh -i id_ed25519 -p 2222 testuser@localhost
|
|
|
|
# Stop
|
|
docker-compose down
|
|
```
|
|
|
|
## Credentials
|
|
|
|
- **User**: `testuser`
|
|
- **Password**: `testpass`
|
|
- **SSH Key**: `id_ed25519` (in this directory)
|
|
- **Port**: `2222`
|
|
|
|
## SSH Command Examples
|
|
|
|
```bash
|
|
# Using key authentication
|
|
ssh -i id_ed25519 -p 2222 -o StrictHostKeyChecking=no testuser@localhost
|
|
|
|
# Run command
|
|
ssh -i id_ed25519 -p 2222 -o StrictHostKeyChecking=no testuser@localhost "whoami"
|
|
```
|