BBB rejects password over SSH and SFTP

I have a BBB and I can not login via SSH (putty) or SFTP (Notepad++), it says “access denied”, but I can login via UART interface.
What can I do?


Oh sorry, I solved my problem. BBB was taking IP address automatically and I was trying with wrong IP address. Anyway now I can login via SSH.