I have configured ssh keys for github. I have multiple ssh keys configured already. I need to add new ssh keys for bitbucket. But it does not seem to be working.
How do i restart sshd in OSX Lion?
You probably know this already, but I'll say to be complete: if you kill
Before you restart it, try sending it a SIGHUP signal so it re-reads all of its configuration. You can do that with
If you really want to kill all the
But try this stuff below first!
All that being said: if you're looking for keys for outbound sessions from the machine to be refreshed, killing
If your new keyfile is
Now the key would be available to new ssh sessions initiated from the terminal. No need to kill or restart anything.