PUTTY access Denied

Amit Shakya picture Amit Shakya · May 12, 2016 · Viewed 71.5k times · Source

I am trying to login using putty SSH it showing error "Access Denied Using Keyboard-interactive authentication.", I am trying with correct id and password. enter image description here

Answer

Limitless isa picture Limitless isa · Dec 12, 2017

My solution found.

I'd try:

1- SSH Config Reset http://YOURIPADDRESS:2086/scripts2/doautofixer?autofix=safesshrestart

2- Host Access Control add sshd ip allow

3- Manage root’s SSH Keys key creat and putty connect

4- Cpanel any domain login -> create ssh key > putty login su root

5- WHM Service Manager sshd enabled

6- Other root username login test

But not login.

SOLUTION:

any domain ssh connect via key -> vim /etc/passwd or vi /etc/passwd

/etc/passwd (preview):

root:x:0:0:root:/root:/bin/bash^M
bin:x:1:1:bin:/bin:/sbin/nologin^M
...

PROBLEM = ^M

Contact system administration clear ^M char solved.

Note: Because I have already edited the passwd file in the "windows" environment. Do not edit windows editor.

For edit: Putty another login and su root -> vim /etc/passwd -> clear all ^M -> For Save :wq, For Not save quit :q!