File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ WORKDIR /usr/src/node-red
3535# Setup SSH known_hosts file
3636COPY .docker/known_hosts.sh .
3737RUN ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh
38+ RUN echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config
3839
3940# package.json contains Node-RED NPM module and node dependencies
4041COPY package.json .
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ WORKDIR /usr/src/node-red
3434# Setup SSH known_hosts file
3535COPY known_hosts.sh .
3636RUN ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh
37+ RUN echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config
3738
3839# package.json contains Node-RED NPM module and node dependencies
3940COPY package.json .
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ WORKDIR /usr/src/node-red
3535# Setup SSH known_hosts file
3636COPY known_hosts.sh .
3737RUN ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh
38+ RUN echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config
3839
3940# package.json contains Node-RED NPM module and node dependencies
4041COPY package.json .
You can’t perform that action at this time.
0 commit comments