Update agent credentials - add AP with password auth
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-01-22 19:56:59 +02:00
parent ee25a44a2f
commit b19a777fad

View File

@@ -19,18 +19,18 @@
## Configured Devices
| Device | IP | SSH Port | Status |
|--------|-----|----------|--------|
| Unraid Server | 192.168.31.2 | 422 | ✅ Configured |
| MikroTik Router (hAP ax³) | 192.168.31.1 | 2222 | ✅ Configured |
| MikroTik Switch (CSS326) | 192.168.31.9 | - | ❌ SwOS - No SSH |
| MikroTik AP (cAP ac) | 192.168.31.6 | - | ❌ SSH Disabled |
| Device | IP | SSH Port | Auth Method | Status |
|--------|-----|----------|-------------|--------|
| Unraid Server | 192.168.31.2 | 422 | SSH Key | ✅ Configured |
| MikroTik Router (hAP ax³) | 192.168.31.1 | 2222 | SSH Key | ✅ Configured |
| MikroTik AP (cAP ac) | 192.168.31.6 | 2222 | Password | ✅ Configured |
| MikroTik Switch (CSS326) | 192.168.31.9 | - | N/A | ⚠️ SwOS - No SSH |
---
## SSH Keys
### Private Key (`/root/.ssh/agent_key`)
### Private Key (`/root/.ssh/agent_key` on Unraid)
```
-----BEGIN OPENSSH PRIVATE KEY-----
@@ -42,7 +42,7 @@ AAAECfei47vy1Gcg+zpr+8QGN/27rV2MMAPCL+MlKtt2G0sqg2Jy40OdIGfmlwr64UvbHr
-----END OPENSSH PRIVATE KEY-----
```
### Public Key (`/root/.ssh/agent_key.pub`)
### Public Key
```
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKg2Jy40OdIGfmlwr64UvbHr9OwhDk0TSqvslbcdEzeU agent@slurpit
@@ -56,10 +56,12 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKg2Jy40OdIGfmlwr64UvbHr9OwhDk0TSqvslbcdEzeU
- Shell: `/bin/bash`
- Home: `/home/agent`
- Groups: `agent`
- SSH: Key-based auth
### MikroTik Router
### MikroTik Router & AP
- Group: `read` (read-only access)
- SSH Key Auth: Enabled
- Router: SSH Key Auth
- AP: Password Auth
---
@@ -86,14 +88,28 @@ Add these credentials in **Slurp'it Portal** → **Vault** → **Credentials**:
| Device OS | mikrotik_routeros |
| Comment | MikroTik router agent |
### For MikroTik AP:
| Field | Value |
|-------|-------|
| Group | default |
| Username | agent |
| Password | LOQWhsIzeGmWcsbO7dMI |
| Device OS | mikrotik_routeros |
| SSH Port | 2222 |
| Comment | MikroTik AP agent |
---
## Testing Access
```bash
# Test Unraid SSH
# Test Unraid SSH (key-based)
ssh -i /root/.ssh/agent_key -p 422 agent@192.168.31.2 'hostname'
# Test MikroTik SSH
# Test MikroTik Router SSH (key-based)
ssh -i /root/.ssh/agent_key -p 2222 agent@192.168.31.1 '/system identity print'
# Test MikroTik AP SSH (password-based)
ssh -p 2222 agent@192.168.31.6 '/system identity print'
# Password: LOQWhsIzeGmWcsbO7dMI
```