Some times you may need to test if password authentication works for SSH and you have SSH key authentication already set.
You can comment out your SSH key from ~/.ssh/authorized_keys to do this. Another solution is to use
1 |
ssh -o PreferredAuthentications=password USER@SERVER_IP |
To disable Public key authentication, use
1 |
-o PubkeyAuthentication=no |