Port change #49

Closed
phoenix wants to merge 5 commits from port_change into devel
Showing only changes of commit 21c8b398e6 - Show all commits

View File

@@ -20,15 +20,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Replace `your-git-server.com` with your actual Git host
RUN mkdir -p ~/.ssh && \
echo "Host git.kundeng.us" >> ~/.ssh/config && \
echo " Port 8122" >> ~/.ssh/config && \
# echo " Port 8122" >> ~/.ssh/config && \
echo " User git" >> ~/.ssh/config && \
chmod 600 ~/.ssh/config
# << --- ADD HOST KEY HERE --- >>
# Replace 'yourgithost.com' with the actual hostname (e.g., github.com)
# RUN ssh-keyscan -p 8122 git.kundeng.us >> ~/.ssh/known_hosts
RUN mkdir -p ~/.ssh && \
ssh-keyscan -p 8122 git.kundeng.us >> ~/.ssh/known_hosts
# RUN mkdir -p ~/.ssh && \
# ssh-keyscan -p 8122 git.kundeng.us >> ~/.ssh/known_hosts
RUN ssh-keyscan git.kundeng.us >> ~/.ssh/known_hosts
# RUN ssh-add -L