I'm confusing myself on some ssh key-based authentication.
Let's say I have:
Host A: user tom .ssh tom_private_key tom_public_key Host B: user shared .ssh shared_private_key shared_public_key
I want to SSH from Host A, as user
shared, into Host B.
Would I have to copy the
shared user's private key to my ssh directory and then use the -I parameter or setup an SSH config file so that when I ssh to that host as user
shared user's private key is used?
There's not a way to do this without copying the private key is there? I don't think so, but I'd obviously like to avoid copying around private keys if I can.