Skip to content

Commit

Permalink
Merge pull request #266 from threefoldtech/forum_multissh
Browse files Browse the repository at this point in the history
multiple ssh support
  • Loading branch information
PeterNashaat authored Jun 26, 2024
2 parents c0df6d6 + 3f05058 commit c551ac2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tfgrid3/forum-3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt -y install wget curl vim net-tools iputils-ping openssh-server docker.io git nginx

RUN wget -O /sbin/zinit https://github.com/threefoldtech/zinit/releases/download/v0.2.5/zinit && \
RUN wget -O /sbin/zinit https://github.com/threefoldtech/zinit/releases/download/v0.2.14/zinit && \
chmod +x /sbin/zinit

RUN mkdir -p /etc/zinit
Expand Down
2 changes: 1 addition & 1 deletion tfgrid3/forum-3/zinit/sshd.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exec: bash -c "/usr/sbin/sshd -D"
exec: /usr/sbin/sshd -D
4 changes: 1 addition & 3 deletions tfgrid3/forum-3/zinit/sshkey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ exec: |
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
echo "$SSH_KEY" >> /root/.ssh/authorized_keys
fi
'
oneshot: true
oneshot: true

0 comments on commit c551ac2

Please sign in to comment.