Adding additional SSH keys

This article explains how to add an additional SSH key to k3OS, so that multiple people can access the device

If you have multiple people who need to access your edge device running k3OS, you can add additional SSH keys to allow them to connect via SSH. Here’s how to do it:

Prerequisites

  • Edge device running k3OS
  • SSH access to the device
  • SSH/SFTP client
  • Public and private keys suited for SSH access

Tutorial

  1. Connect to the edge device via SSH.
  2. Navigate to the /home/rancher/.ssh folder and edit the authorized_keys file.
  3. Add the additional SSH key to the file.

By following these steps, you will be able to give multiple people access to your edge device via SSH using their own unique keys.

Last modified February 17, 2023: update (#208) (ea731fc)