When connecting to Ubuntu over SSH, using public key authentication instead of password authentication can improve security. This article explains how to configure SSH public key authentication.
# Generate a Public and Private Key Pair First, generate an SSH key pair on the client. In this example, the ED25519 key algorithm is used.
ssh-keygen -t ed25519 The following page explains how to generate SSH keys in detail.
How to Generate an SSH Key
Tag: Ubuntu
In addition to Raspberry Pi OS, you can also boot Ubuntu on a Raspberry Pi.
This article explains how to install Ubuntu on a Raspberry Pi.
# Install Raspberry Pi Imager Install a tool called Raspberry Pi Imager to write Ubuntu to a microSD card.
Download the tool from the official website and install it on your PC.
# Write Ubuntu to a microSD Card Write Ubuntu to a microSD card.
When using Ubuntu as a server OS, you may need to configure it so that the IP address remains consistent.
This guide explains how to set a static IP address on Ubuntu.
# Check Network Interface Information Enter ip address to check your network interface information.
ip address 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:c4:6d:4e brd ff:ff:ff:ff:ff:ff inet 192.