Skip to content
 
 

Repository files navigation

Termius hosts farm

Repository with Docker containers with ssh servers.

Supported authentication options:

  • only identity file;
  • only password;
  • authy and identity file;
  • authy and password;
  • one time password;
  • YubiKey with methods: public key (GPG), keyboard-interactive (PAM);

Run

To run ssh/telnet servers you'll demand on Docker and docker-compose.

docker-compose up

How to add more options

When you want to add new server configuration follow step below:

  • create new configuration directory with meaningful Name in repository root;
  • add Dockerfile and to new configuration directory;
  • add new service with the same configuration name to docker-compose.yml;
  • use environment variable in docker-compose.yml where it's needed.

Table of available hosts

Service Port User Password Key
pass 2201 sa pass -
key 2202 sa - 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
yuubikey 2220 sa - -
yuubikey-pam 2221 sa - -
agent-forwarding-disabled 2222 sa - rsa key
gateway-ports 2223 sa - rsa key
mosh 2224 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 sa - rsa key

Table of proxy hosts

Hostname Port Availability Proxied hosts
http-proxy 8888 global pass, key
http-proxy-chain1 8889 global chain1
http-proxy-chain2 3128 from chain1 chain2
http-proxy-chain3 3128 from chain2 chain3

Table of Port Forwarding Case

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

About

Docker containers with ssh servers

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages