首先先把你密码清空啊
然后修改/etc/ssh/sshd_config文件:
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication no
PermitEmptyPasswords yes
PasswordAuthentication yes
最后重启下服务:service sshd restart就可以了
或者你用putty工具话不用清除密码也可以写个批处理如下:
start putty -pw 密码 用户名@IP地址
运行就可以了
最新评论