diff --git a/LINUX.md b/LINUX.md index 2239403..b8cf381 100644 --- a/LINUX.md +++ b/LINUX.md @@ -271,18 +271,14 @@ _Note: The following section requires you already have a [Google Cloud Platform] - Select General purpose > PRESET > e2-standard-4 gcloud-console-vm-e2-standard4 -- Boot disk > Change +- OS and storage > Change - Operating system > Ubuntu - - Version > Ubuntu 22.04 LTS x86/64 + - Version > Ubuntu 24.04 LTS x86/64 - Boot disk type > Balanced persistent disk - Size > upgrade to 150GB gcloud-console-vm-ubunt -- Open `Networking, Disks, ...` under `Advanced options` -- Open `Networking` - - gcloud-console-vm-networking -- Go to `Network interfaces` and click on `default default (...)` with a downward arrow on the right. +- Networking > Network interfaces and click on `default default (...)` with a downward arrow on the right. gcloud-console-vm-network-interfaces - This opened a box `Edit network interface` @@ -574,25 +570,25 @@ In this section, we will use [GitHub CLI](https://cli.github.com/) to interact w It should already be installed on your computer from the previous commands. +We will use the GitHub CLI (`gh`) to connect to GitHub using *SSH*, a protocol to log in using SSH keys instead of the well known username/password pair. + First in order to **login**, copy-paste the following command in your terminal: :warning: **DO NOT edit the `email`** ```bash -gh auth login -s 'user:email' -w +gh auth login -s 'user:email' -w --git-protocol ssh ``` -gh will ask you few questions: - -`What is your preferred protocol for Git operations?` With the arrows, choose `SSH` and press `Enter`. SSH is a protocol to log in using SSH keys instead of the well known username/password pair. +`gh` will ask you few questions: -`Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. +- `Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. -If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. + If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. -`Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. +- `Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. -`Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. +- `Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. You will then get the following output: diff --git a/WINDOWS.md b/WINDOWS.md index a4f734b..a673b19 100644 --- a/WINDOWS.md +++ b/WINDOWS.md @@ -271,18 +271,14 @@ _Note: The following section requires you already have a [Google Cloud Platform] - Select General purpose > PRESET > e2-standard-4 gcloud-console-vm-e2-standard4 -- Boot disk > Change +- OS and storage > Change - Operating system > Ubuntu - - Version > Ubuntu 22.04 LTS x86/64 + - Version > Ubuntu 24.04 LTS x86/64 - Boot disk type > Balanced persistent disk - Size > upgrade to 150GB gcloud-console-vm-ubunt -- Open `Networking, Disks, ...` under `Advanced options` -- Open `Networking` - - gcloud-console-vm-networking -- Go to `Network interfaces` and click on `default default (...)` with a downward arrow on the right. +- Networking > Network interfaces and click on `default default (...)` with a downward arrow on the right. gcloud-console-vm-network-interfaces - This opened a box `Edit network interface` @@ -541,25 +537,25 @@ In this section, we will use [GitHub CLI](https://cli.github.com/) to interact w It should already be installed on your computer from the previous commands. +We will use the GitHub CLI (`gh`) to connect to GitHub using *SSH*, a protocol to log in using SSH keys instead of the well known username/password pair. + First in order to **login**, copy-paste the following command in your terminal: :warning: **DO NOT edit the `email`** ```bash -gh auth login -s 'user:email' -w +gh auth login -s 'user:email' -w --git-protocol ssh ``` -gh will ask you few questions: - -`What is your preferred protocol for Git operations?` With the arrows, choose `SSH` and press `Enter`. SSH is a protocol to log in using SSH keys instead of the well known username/password pair. +`gh` will ask you few questions: -`Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. +- `Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. -If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. + If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. -`Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. +- `Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. -`Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. +- `Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. You will then get the following output: diff --git a/_partials/virtual_machine.md b/_partials/virtual_machine.md index 4a493f4..153279d 100644 --- a/_partials/virtual_machine.md +++ b/_partials/virtual_machine.md @@ -13,18 +13,14 @@ _Note: The following section requires you already have a [Google Cloud Platform] - Select General purpose > PRESET > e2-standard-4 gcloud-console-vm-e2-standard4 -- Boot disk > Change +- OS and storage > Change - Operating system > Ubuntu - - Version > Ubuntu 22.04 LTS x86/64 + - Version > Ubuntu 24.04 LTS x86/64 - Boot disk type > Balanced persistent disk - Size > upgrade to 150GB gcloud-console-vm-ubunt -- Open `Networking, Disks, ...` under `Advanced options` -- Open `Networking` - - gcloud-console-vm-networking -- Go to `Network interfaces` and click on `default default (...)` with a downward arrow on the right. +- Networking > Network interfaces and click on `default default (...)` with a downward arrow on the right. gcloud-console-vm-network-interfaces - This opened a box `Edit network interface` diff --git a/macOS.md b/macOS.md index 43c998f..381963b 100644 --- a/macOS.md +++ b/macOS.md @@ -271,18 +271,14 @@ _Note: The following section requires you already have a [Google Cloud Platform] - Select General purpose > PRESET > e2-standard-4 gcloud-console-vm-e2-standard4 -- Boot disk > Change +- OS and storage > Change - Operating system > Ubuntu - - Version > Ubuntu 22.04 LTS x86/64 + - Version > Ubuntu 24.04 LTS x86/64 - Boot disk type > Balanced persistent disk - Size > upgrade to 150GB gcloud-console-vm-ubunt -- Open `Networking, Disks, ...` under `Advanced options` -- Open `Networking` - - gcloud-console-vm-networking -- Go to `Network interfaces` and click on `default default (...)` with a downward arrow on the right. +- Networking > Network interfaces and click on `default default (...)` with a downward arrow on the right. gcloud-console-vm-network-interfaces - This opened a box `Edit network interface` @@ -539,25 +535,25 @@ In this section, we will use [GitHub CLI](https://cli.github.com/) to interact w It should already be installed on your computer from the previous commands. +We will use the GitHub CLI (`gh`) to connect to GitHub using *SSH*, a protocol to log in using SSH keys instead of the well known username/password pair. + First in order to **login**, copy-paste the following command in your terminal: :warning: **DO NOT edit the `email`** ```bash -gh auth login -s 'user:email' -w +gh auth login -s 'user:email' -w --git-protocol ssh ``` -gh will ask you few questions: - -`What is your preferred protocol for Git operations?` With the arrows, choose `SSH` and press `Enter`. SSH is a protocol to log in using SSH keys instead of the well known username/password pair. +`gh` will ask you few questions: -`Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. +- `Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you. -If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. + If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`. -`Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. +- `Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`. -`Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. +- `Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`. You will then get the following output: