Re:Ask HN: Developers, how do you keep SSH and web URLs orga...
by bonhardcomp on Friday June 15, 2018 @02:00PM
(#17321993)
Just append aliases to .bash_profile? E.g.
alias connect-amazon-example="ssh -i ~/.ssh/amazon-example-key.pem [email protected]"
Then just 'connect-amazon-example' at the terminal?
[ Parent
| on HN ]
Re:Ask HN: Developers, how do you keep SSH and web URLs orga...
by 7ewis on Friday June 15, 2018 @03:40PM
(#17322874)
Is that best practice?
I've never really understood how you should keep SSH keys. I kept them all in a folder and set zsh to iterate through them all and run ssh-add on startup. Until I realised it can't cope after adding a certain amount, now I'm back to manually doing it.