Repository with Docker containers with ssh servers.
- only identity file;
- only password;
- authy and identity file;
- authy and password;
- one time password;
- YubiKey with methods: public key (GPG), keyboard-interactive (PAM);
To run ssh/telnet servers you'll demand on Docker and docker-compose.
docker-compose upWhen you want to add new server configuration follow step below:
- create new configuration directory with meaningful Name in repository root;
- add
Dockerfileand to new configuration directory; - add new service with the same configuration name to
docker-compose.yml; - use environment variable in
docker-compose.ymlwhere it's needed.
| Service | Port | User | Password | Key |
|---|---|---|---|---|
| pass | 2201 | sa | pass | - |
| key | 2202 | sa | - | rsa key encrypted rsa key |
| authykey | 2203 | sa | - | rsa key |
| authypass | 2204 | Authy users | authy_token | - |
| otp | 2205 | sa | - | keys |
| ed25519 | 2206 | sa | - | ed25519 key |
| ecdsa-nistp256 | 2207 | sa | - | ecDSA 256 key |
| ecdsa-nistp384 | 2218 | sa | - | ecDSA 384 key |
| ecdsa-nistp521 | 2219 | sa | - | ecDSA 521 key |
| hmac-sha2-256 | 2208 | sa | - | rsa key |
| hmac-sha2-512 | 2209 | sa | - | rsa key |
| chacha20-poly1305_at_openssh.com | 2210 | sa | - | rsa key |
| aes128-ctr | 2211 | sa | - | rsa key |
| aes192-ctr | 2212 | sa | - | rsa key |
| aes256-ctr | 2213 | sa | - | rsa key |
| curve25519-sha256 | 2214 | sa | - | rsa key |
| diffie-hellman-group-exchange-sha256 | 2215 | sa | - | rsa key |
| telnet | 2216 | sa | pass | - |
| chain1 | 2217 | chain1 | 1 | - |
| chain2 | - | chain2 | - | rsa key |
| chain3 | - | chain3 | - | rsa1 key |
| yubikey-pam | 2221 | sa | - | - |
| agent-forwarding-disabled | 2222 | sa | - | rsa key |
| gateway-ports | 2223 | sa | - | rsa key |
| mosh | 2224, 60001-60010 (udp) | sa | - | rsa key |
| multiple-auths | 2225 | sa | pass | rsa key |
| keyboard-interactive-pass | 2226 | sa | pass | - |
| sftp-disabled | 2227 | sa | - | rsa key |
| pf-disabled | 2228 | sa | - | rsa key |
| pf-case-jump | 2230 | qa | - | rsa key |
| client-cert | 2231 | sa | - | user certificate key |
| mosh-unstable | 2232, 60021-60030 (udp) | sa | - | rsa key |
| mosh-pass | 2233, 60011-60020 (udp) | sa | pass | - |
| export-key | 2234 | sa | pass | - |
| disabled-rsa-sha | 2235 | sa | - | rsa key |
| dropbear-key | 2236 | sa | - | rsa key |
| putty | 2237 | sa | - | putty key encrypted putty key |
| tinyssh | 2238 | sa | - | ed25519 key |
| keyboard-interactive-custom | 2239 | sa | - | - |
Passphrase for keys/id_rsa_encrypted is termius-test.
Passphrase for keys/putty_rsa_encrypted is test.
Passphrase for keys/putty3_rsa_encrypted is testppk3.
| Hostname | Port | Availability | Proxied hosts |
|---|---|---|---|
| http-proxy | 8888 | global | pass, key |
| http-proxy-chain1 | 8889 | global | chain1 |
| http-proxy-authenticated | 8890 | global | pass, key |
| http-proxy-chain2 | 3128 | from chain1 | chain2 |
| http-proxy-chain3 | 3128 | from chain2 | chain3 |
HTTP proxy http-proxy-authenticated credentials are username termius and password test.
| Hostname | Port | Availability | Authentication |
|---|---|---|---|
| pf-case-keystorage, 172.25.1.101/24 | 22 | from the jump host | ed25519 key |
| pf-case-target, 172.25.2.101/24 | 22 | from the jump host | get a key from pf-case-keystorage ~/.id_rsa |