|
@ -11,7 +11,7 @@ curl https://docker.0k.io/get/vm_git_access_id_rsa > /root/.ssh/id_rsa || { |
|
|
## Not so usefull as it is public ! |
|
|
## Not so usefull as it is public ! |
|
|
chmod 0600 /root/.ssh/id_rsa |
|
|
chmod 0600 /root/.ssh/id_rsa |
|
|
|
|
|
|
|
|
ssh-keyscan -H -p 10022 git.0k.io > /root/.ssh/known_hosts |
|
|
|
|
|
|
|
|
ssh-keyscan -p 10022 git.0k.io > /root/.ssh/known_hosts |
|
|
chmod 600 /root/.ssh/known_hosts |
|
|
chmod 600 /root/.ssh/known_hosts |
|
|
|
|
|
|
|
|
cat <<EOF > /root/.ssh/config |
|
|
cat <<EOF > /root/.ssh/config |
|
|