Skip to main content

KTDEVX

Tag: SSH

Connect to Ubuntu over SSH Using Public Key Authentication

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

Enable SSH Access on Raspberry Pi OS

Raspberry Pi OS is an operating system for Raspberry Pi devices provided by the Raspberry Pi Foundation. Enabling SSH access allows you to access your Raspberry Pi remotely. This article explains how to enable SSH access on Raspberry Pi OS. # Launch the Configuration Tool Run the following command to launch the Raspberry Pi configuration tool. sudo raspi-config # Enable the SSH Server After running the command, the configuration screen is displayed.

How to Generate an SSH Key

SSH is a protocol for securely logging into remote computers, transferring files, and executing commands over a network. It encrypts communications, preventing eavesdropping and ensuring security. This guide explains how to generate keys for use with SSH. # Setting the Encryption Algorithm and Key Length You can generate a key using the ssh-keygen command. The following example generates a key using the RSA encryption algorithm with a key length of 4096.