我用putty连接suse10总是:using keyboard-interactive authenticationlogin as: ericzhao
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
不知道改怎么办

解决方案 »

  1.   

    我在网上搜索了一下:
    Using keyboard-interactive authentication
     
    今天用putty远程登陆红帽4的时候,一直提示Using keyboard-interactive authentication,意思是需要交互式键盘认证方式,不能通过密码方式登陆。
    大致情况如下:
    QUOTE:
    login as: zj
    Using keyboard-interactive authentication.
    Password:
    Access denied
    Using keyboard-interactive authentication.
     
    网上搜查了下,原因是sshd_config 采用默认设置,在 默认的情况下, /etc/ssh/sshd_config 是一个全部注释的文件。
    主要有以下两个方法:
    1.去掉注释 PermitRootLogin = yes   就可以用 root 登陆了;
    2.你是远程用root登陆吧,好多都不建议这样做……..最简单还是adduser,加一个wheel组的用户,登陆后su到 root……………
     
    我的解决方式是:
    以root身份直接在/etc/ssh/sshd_config中找到#PermitRootLogin = yes ,将其去掉重启就可以了。但是我不知道/etc/ssh/sshd_config在哪儿,是在linux服务器山,还是在我本地的 putty中