Skip to content

Commit 5223f86

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 c80d909 commit 5223f86

File tree

4 files changed

+1230
-1240
lines changed

4 files changed

+1230
-1240
lines changed

dist/entrypoint.sh

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ source /steps/return_license.sh
2323

2424
rm -r "$ACTIVATE_LICENSE_PATH"
2525

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

0 commit comments

Comments
 (0)