Hi all,
So every time I google around for SSH tutorials, they always start from ground one... run ssh-keygen to generate the private / public key pair, etc etc.
However, I already have my public key on the remote system and I have the private key file on my current system. How do I "import" this key so that it loads by default.
When I boot up my mac and go into terminal, when I run
it says
So I need to run
and then if I run
, it lists my identity - how do I configure my system to load this key up by default?? Thanks!
So every time I google around for SSH tutorials, they always start from ground one... run ssh-keygen to generate the private / public key pair, etc etc.
However, I already have my public key on the remote system and I have the private key file on my current system. How do I "import" this key so that it loads by default.
When I boot up my mac and go into terminal, when I run
Code:
ssh-add -l
The agent has no identities.
So I need to run
Code:
ssh-add my_private_key
Code:
ssh-add -l