Commit f93de2e Tyler Titsworth
authored
1 parent 9d9fbf0 commit f93de2e Copy full SHA for f93de2e
File tree 4 files changed +7
-2
lines changed
workflows/charts/huggingface-llm
4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,8 @@ RUN apt-get install -y --no-install-recommends --fix-missing \
421
421
/etc/ssh/ssh_host_*_key.pub && \
422
422
rm -rf /var/lib/apt/lists/*
423
423
424
- RUN mkdir -p /var/run/sshd
424
+ RUN mkdir -p /var/run/sshd && \
425
+ echo 'LoginGraceTime 0' >> /etc/ssh/sshd_config
425
426
426
427
# https://github.com/openucx/ucx/issues/4742#issuecomment-584059909
427
428
ENV UCX_TLS=ud,sm,self
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ RUN echo 'HostKey /etc/ssh/ssh_host_dsa_key' > /var/run/sshd_config && \
134
134
echo '## Enable DEBUG log. You can ignore this but this may help you debug any issue while enabling SSHD for the first time' > /var/run/sshd_config && \
135
135
echo 'LogLevel DEBUG3' > /var/run/sshd_config && \
136
136
echo 'UsePAM yes' > /var/run/sshd_config && \
137
+ echo 'LoginGraceTime 0' >> /var/run/sshd_config && \
138
+ echo 'LoginGraceTime 0' >> /etc/ssh/sshd_config && \
137
139
echo 'Subsystem sftp /usr/lib/openssh/sftp-server' > /var/run/sshd_config
138
140
139
141
RUN mkdir -p /licensing
Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ ENV OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
106
106
ENV OMPI_MCA_tl_tcp_if_exclude="lo,docker0"
107
107
108
108
# Install OpenSSH for MPI to communicate between containers
109
- RUN mkdir -p /var/run/sshd
109
+ RUN mkdir -p /var/run/sshd && \
110
+ echo 'LoginGraceTime 0' >> /etc/ssh/sshd_config
110
111
111
112
# Install Horovod
112
113
ARG HOROVOD_WITH_TENSORFLOW=1
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
56
56
RUN mkdir -p /var/run/sshd && \
57
57
cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_config.new && \
58
58
echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new && \
59
+ echo 'LoginGraceTime 0' >> /etc/ssh/sshd_config && \
59
60
mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
60
61
61
62
COPY scripts /workspace/scripts/
You can’t perform that action at this time.
0 commit comments