Welcome to the Linux Foundation Forum!

Lab 5.1 - Set Up SSH Key-Based Authentication

GSQSGSQS Posts: 11
edited August 1 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

  • lee42xlee42x Posts: 235

    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.

Sign In or Register to comment.