Welcome to the Linux Foundation Forum!

Lab 5.1 - Set Up SSH Key-Based Authentication

Posts: 11
edited August 2020 in LFS211 Class Forum

I'm trying to understand why we use:
ssh-keygen -t rsa -f $HOME/.ssh/id-rsa
rather than just:
ssh-keygen -t rsa
What functionality is provided by the additional syntax? Thanks!

Comments

  • Posts: 380

    No additional functionality is added other than demonstrating the location of the key and the suggestion that the location is not fixed. Setting up separate keys to use for different machines is desirable.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training