Error received: Permission denied (publickey,keyboard-interactive).Does it mean my remote machine (OSX) does not recognise the public key?
It means you are attempting to authenticate with a password, which is not a valid authentication method. If you allowed passwords the methods available would be "publickey,password,keyboard-interactive".