Skip to content

Commit

Permalink
expose ssh daemons
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Aug 8, 2022
1 parent 5004abc commit 2e276c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ platforms:
command: /sbin/init
capabilities:
- CAP_NET_BIND_SERVICE
published_ports:
- 127.0.0.1:2258:22
tmpfs:
- /run
- /tmp
Expand Down
8 changes: 8 additions & 0 deletions molecule/full/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ platforms:
command: /sbin/init
capabilities:
- CAP_NET_BIND_SERVICE
published_ports:
- 127.0.0.1:2257:22
tmpfs:
- /run
- /tmp
Expand All @@ -25,6 +27,8 @@ platforms:
command: /sbin/init
capabilities:
- CAP_NET_BIND_SERVICE
published_ports:
- 127.0.0.1:2222:22
tmpfs:
- /run
- /tmp
Expand All @@ -35,6 +39,8 @@ platforms:
command: /lib/systemd/systemd
capabilities:
- CAP_NET_BIND_SERVICE
published_ports:
- 127.0.0.1:2220:22
tmpfs:
- /run
- /tmp
Expand All @@ -46,6 +52,8 @@ platforms:
command: /sbin/init
capabilities:
- CAP_NET_BIND_SERVICE
published_ports:
- 127.0.0.1:2210:22
tmpfs:
- /run
- /tmp
Expand Down

0 comments on commit 2e276c9

Please sign in to comment.