SSH key weirdness

30 Jun 2013

So, I generated a new SSH pair from my laptop.

Then, I uploaded the public key to the file `authorized_keys`.

The first time I have to ssh with the private key file with `ssh -i private_key [email protected]`

After that, I don't need to SSH with the key anymore. I can just `ssh [email protected]`.

That doesn't happen when I login to my EC2 machine.

It doesn't happen if I login to from my EC2 machine as well.

Thanks to Wenyu.

The key is stored in KeyChain… so that's why