3 ms·
> if you have your ssh private key on several machines, you have to remember to copy it to all those places Private keys should be per-host. I did copy my priv
by lucideer 6y ago
> if you have your ssh private key on several machines, you have to remember to copy it to all those places
Private keys should be per-host. I did copy my private key across multiple machines way back when I was a bit greener and first learning about how SSH worked. I did that for years. Not everyone knows best practice automatically and we should try and educate instead of shaming people who do it.
BUT
When you believe you have enough knowledge on the subject to go and write an article about SSH key best practice and you're still casually doing this as if it's OK, that's different. This is basic stuff; I have no interest in following any advice from this author if they think copying private keys to different hosts is ok.
- seiferteric 6y agoAlso, "ssh -A" allows you to take your keys with you. I also used to copy my keys around, but now I just use "-A" option when ssh'ing into a different host from my main workstation when I need my keys for something (git cloning for example).