Skip to content

Commit

Permalink
No longer requre git prompt to allow unknown hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinMcNeil committed Dec 6, 2024
1 parent 6e91284 commit 314f085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prompts/prepare-git-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ Check that the folder exists first. If it doesn't, tell the user and stop.

Your script should copy the contents of /root/.ssh-base to /root/.ssh. .ssh-base is readonly, so you after you copy the folder to .ssh, make sure to make it writable.

Remove any lines containing `UseKeychain` and add ` StrictHostKeyChecking no` to `Host *` in the ssh config.
Remove any lines containing `UseKeychain`.

Finally, copy the new .ssh and .gitconfig to `/thread`.

# prompt user

Get my Git ssh credentials! Afterwards, do the same but tell me the contents of the ssh config file and its full path.
Get my Git ssh credentials! Afterwards, do the same but tell me the contents of the ssh config file and its full path. I also need you to make sure GitHub is in known_hosts.

0 comments on commit 314f085

Please sign in to comment.