Configuring ssh and Git for macOS
Important Links
Several important links are mentioned in the video. They are:
- Nodejs: https://nodejs.org/en/
- GitHub: https://github.com/
- Add SSH Key: https://ddc-web-student.cnm.edu/
Commands
Several important commands are mentioned in the video. They are:
Installing Git and Xcode
Command to install git and xcode command line toolsxcode-select --install
SSH Key and Config
Generate an ssh ed25519 Keyssh-keygen -t ed25519
The screencast mentions a command to download SSH configuration. The command is: curl -o ~/.ssh/config https://raw.githubusercontent.com/Deep-Dive-Coding-Fullstack-Licensing/ssh-config/main/config
Connecting to the student server with ssh
The SSH command to connect is:ssh
USERNAME
@ddc-web-student.cnm.edu
where USERNAME is your CNM username.
Configuring git
git config --global user.email
[email protected]
git config --global user.name
"Your Name"
ssh [email protected]
GitHub
GitHub is a site that will be the staging area for all the code you write in this class, and when you leave this class. Think of it as a living, expanding professional portfolio of code you have written. The main idea of using GitHub is twofold:
- To collaborate with your teammates during class and be an effective group member
- To have an easily accessible center for all your work to share with future employers
The video will walk you through signing up for a GitHub account. Since this will be a professional account, it is important you use a professional username. Make sure the username is something you'll have no shame in sharing with future employers. Your first and last name (or a slight variation) is recommended.