-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
89 lines (80 loc) · 2.83 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: '3'
services:
# ssh -v root@localhost -p 2222 -o PreferredAuthentications=password
ssh_tunnel_plain_password:
container_name: ssh_tunnel_plain_password
build: .
volumes:
- ./sshd/plain_password/sshd_config:/etc/ssh/sshd_config
ports:
- '2222:22'
# ssh -v root@localhost -p 2223 -o PreferredAuthentications=keyboard-interactive
ssh_tunnel_plain_password_keyboard_interaction:
container_name: ssh_tunnel_plain_password_keyboard_interaction
build: .
volumes:
- ./sshd/plain_password_keyboard_interaction/sshd_config:/etc/ssh/sshd_config
ports:
- '2223:22'
# ssh -v root@localhost -p 3333 -o PreferredAuthentications=keyboard-interactive
ssh_tunnel_pam_ga:
container_name: ssh_tunnel_pam_ga
build: .
volumes:
- ./sshd/pam_ga/sshd_config:/etc/ssh/sshd_config
- ./sshd/pam_ga/sshd:/etc/pam.d/sshd
ports:
- '3333:22'
# ssh -v root@localhost -p 4444 -o PreferredAuthentications=keyboard-interactive
ssh_tunnel_pam_yubikey:
container_name: ssh_tunnel_pam_yubikey
build: .
volumes:
- ./sshd/pam_yubikey/sshd_config:/etc/ssh/sshd_config
- ./sshd/pam_yubikey/sshd:/etc/pam.d/sshd
- ./sshd/pam_yubikey/yubikey_mappings:/etc/yubikey_mappings
ports:
- '4444:22'
# ssh -v root@localhost -p 5555 -i ./keys/id_openssh_passphraseless_rsa
ssh_tunnel_openssh_rsa_pk:
container_name: ssh_tunnel_openssh_rsa_pk
build: .
volumes:
- ./sshd/simple_pk/sshd_config:/etc/ssh/sshd_config
- ./keys/public/id_openssh_passphraseless_rsa.pub:/root/.ssh/authorized_keys
ports:
- '5555:22'
# ssh -v root@localhost -p 5556 -i ./keys/id_pem_ecdsa
ssh_tunnel_pem_ecdsa_pk:
container_name: ssh_tunnel_pem_ecdsa_pk
build: .
volumes:
- ./sshd/simple_pk/sshd_config:/etc/ssh/sshd_config
- ./keys/public/id_pem_ecdsa.pub:/root/.ssh/authorized_keys
ports:
- '5556:22'
# ssh -v root@localhost -p 5557 -i ./keys/id_openssh_passphraseless_ecdsa
ssh_tunnel_openssh_ecdsa_no_pw_pk:
container_name: ssh_tunnel_openssh_ecdsa_no_pw_pk
build: .
volumes:
- ./sshd/simple_pk/sshd_config:/etc/ssh/sshd_config
- ./keys/public/id_openssh_passphraseless_ecdsa.pub:/root/.ssh/authorized_keys
ports:
- '5557:22'
# ssh -v root@localhost -p 5558 -i ./keys/id_openssh_passphraseless_ed25519
ssh_tunnel_openssh_ed25519_no_pw_pk:
container_name: ssh_tunnel_openssh_ed25519_no_pw_pk
build: .
volumes:
- ./sshd/simple_pk/sshd_config:/etc/ssh/sshd_config
- ./keys/public/id_openssh_passphraseless_ed25519.pub:/root/.ssh/authorized_keys
ports:
- '5558:22'
ssh_tunnel_do_appstore_review:
container_name: ssh_tunnel_do_appstore_review
build: .
volumes:
- ./sshd/plain_password/sshd_config:/etc/ssh/sshd_config
ports:
- '7777:22'