Welcome to the Linux Foundation Forum!

Lab 5.1 - Set Up SSH Key-Based Authentication

Options
GSQS
GSQS 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

  • lee42x
    lee42x Posts: 380
    Options

    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.

Categories

Upcoming Training