解决FinalShell 连接virtual box安装的Linux centos/7系统 一直让输入密码,输入什么密码都没用
问题描述:
virtual box安装的Linux centos/7系统默认只允许ssh登录方式,需要配置允许账号密码登录
先登录root账号(一定要是root):初始密码为vagrant
su
修改ssh配置文件:
vi /etc/ssh/sshd_config
修改 PasswordAuthentication no 为
PasswordAuthentication yes
然后保存退出。之后重启 SSH 服务或服务器使配置生效
service sshd restart
之后就可以在finalshell远程使用账号密码登录