When using SSH to connect between two mac machines as a standard user passwordless connection works ok on both macs.
But each time when doing the same as root it asks me to enter the passphrase. I got
PermitRootLogin without-password in my
What's wrong wish my root? Any ideas why does this happen.
Then: I've tried to add my passphrase to keychain using this method:
$eval "$(ssh-agent)" $ssh firstname.lastname@example.org && ssh-add -K
The keychain window appears but for some reason it doesn’t allow to type in it so I just close it. And after I close it terminal prompts me to enter a passphrase. And after I did I get a connection. So I typed
and got this:
Could not create keychain item Identity added: /var/root/.ssh/id_rsa (/var/root/.ssh/id_rsa)
So it's a keychain problem I believe (or is it supposed to work this way for any reason?) Funny thing that after this I actually don't need to enter the passphrase anymore... until I stop ssh-agent :(((((
I tried this on two macs and get absolutely the same result
Could anyone tell me why keychain [fails|doesn't allow] to save passphrase when sshing as root while it works fine when doing ssh as standard user?