2-8 of 764,000 results
Open links in new tab
  1. amazon ec2 - How do I add SSH Keys to authorized_keys file ...

    Jun 1, 2011 · I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still …

  2. ubuntu - How to conveniently update authorized_keys file ...

    0 I wrote the following script to handle this, which I call ssh-update-key. It loads my deprecated key into ssh-agent temporarily, then uses ssh-copy-id to copy the preferred key. Then uses some awk/sed to …

  3. What is SSH authorized_keys file and how to check it

    Oct 19, 2025 · The SSH authorized_keys file is a file that contains a list of public keys that are authorized to log in to the server. This file is used to prevent unauthorized users from connecting to …

  4. How To Add SSH Keys To Authorized_Keys On Ubuntu

    Jul 7, 2023 · mkdir -p ~/.ssh/ touch ~/.ssh/authorized_keys Now, append the public key to the authorized_keys file like so cat id_rsa.pub >> ~/.ssh/authorized_keys Authenticating with SSH Keys …

  5. ssh - How to edit authorized_keys? - Unix & Linux Stack Exchange

    You can grep them to filter, sed -i~ /pattern/d authorized_keys to delete lines, say all those from some server, or cat new-entries >> authorized_keys to add lines to the end.

  6. Mastering SSH Key Authentication on Ubuntu – TheLinuxCode

    Dec 27, 2023 · In this comprehensive 2500+ word guide, you will learn expert-level best practices for configuring public key authentication on Ubuntu. Follow along step-by-step from generating strong …

  7. How to Create an SSH Key in Linux: Easy Step-by-Step Guide

    Feb 6, 2025 · Learn how to generate SSH keys in Linux with our detailed guide. Includes step-by-step instructions, troubleshooting tips, and practical examples for secure …