Skip to content

Commit ee63777

Browse files
committed
Configure ssh to disable strict host key checking, remove .ssh/known_hosts mounting as .ssh folder does not exist in base image
1 parent cfa9076 commit ee63777

File tree

4 files changed

+1117
-1115
lines changed

4 files changed

+1117
-1115
lines changed

dist/entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ source /steps/return_license.sh
2222

2323
rm -r "$ACTIVATE_LICENSE_PATH"
2424

25+
#
26+
# Configure ssh
27+
#
28+
29+
mkdir -m 700 -p ~/.ssh && echo "Host *" > ~/.ssh/config && echo " StrictHostKeyChecking no" >> ~/.ssh/config
30+
2531
#
2632
# Instructions for debugging
2733
#

0 commit comments

Comments
 (0)