When your trying to connect to a remote server via pem key and it asks you for the passphrase everytime you login. To circumvent this issue in Mac you can add the passphrase via ssh-add command
ssh-add -K /Users/shadab/Downloads/wha_moov.pem
And enter the passphrase once, next time you connect it will not prompt you for the passphrase becuase it adds the private key to the keychain
ssh -i /Users/shadab/Downloads/wha_moov.pem user@192.168.1.30 -p 2222