143
85
I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work.
I have some RSA keys that I've generated stored in my ~/.ssh directory for accessing various servers. I don't have passphrases set on those keys. Currently in order to log in to those servers I use the following commands in the Terminal:
eval `ssh-agent` ssh-add ~/.ssh/some_key_rsa ssh user@server
(I've written some Bash functions to make this easier.)
Is there a better way to do this using the Keychain?
I do these to solve it, ref: https://unix.stackexchange.com/a/560404/388990 Hope it works, thanks
– Toni Firnandes – 2020-01-05T03:35:06.713