Enforce SSH or SCP password authentication

Use the bellow ssh/scp options in order to enforce password (keyboard-interactive) authentication:

ssh -o PubkeyAuthentication=no user@example.com
scp -o PubkeyAuthentication=no user@example.com

or

ssh -o PreferredAuthentications="password" user@example.com
scp -o PreferredAuthentications="password" user@example.com