Skip to content

Commit b335cb8

Browse files
authored
Add PubkeyAccessKeyTypes settings (#323)
* Add PubkeyAccessKeyTypes settings * Add PubkeyAccessKeyTypes settings * Add ssh fix to debian based build
1 parent da99564 commit b335cb8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.docker/Dockerfile.alpine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ WORKDIR /usr/src/node-red
3535
# Setup SSH known_hosts file
3636
COPY .docker/known_hosts.sh .
3737
RUN ./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
4041
COPY package.json .

docker-custom/Dockerfile.custom

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ WORKDIR /usr/src/node-red
3434
# Setup SSH known_hosts file
3535
COPY known_hosts.sh .
3636
RUN ./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
3940
COPY package.json .

docker-custom/Dockerfile.debian

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ WORKDIR /usr/src/node-red
3535
# Setup SSH known_hosts file
3636
COPY known_hosts.sh .
3737
RUN ./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
4041
COPY package.json .

0 commit comments

Comments
 (0)