SecureCRT无法正常连接Ubuntu 14.0.4.5的解决办法
2017-02-16 20:17
543 查看
问题描述:
通过Vmware10.0.2安装了Ubuntu 14.0.4.15 虚拟服务器,在SercureCRT中使用root帐号连接Ubuntu14.0.4.5的时候,提示“Password Authentication Failed,Please verify that the username and password are correct.”重新输入密码,反复检查多次密码并重新输入正确的密码,还是提示同样的错误。
解决方法:
1、在虚拟机终端使用root帐号登录,编辑/etc/ssh/sshd_config文件
vi /etc/ssh/sshd_config
2、找到Authentication配置部分,将PermitRootLogin without-password修改为PermitRootLogin yes,然后保存。
# Authentication:
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes
说明:sshd_config是ssh的配置文件,其中有一个选项 PermitRootLogin 用来配置是否允许root用户登录,默认的without-password表示不允许使用密码进行全登录认证,yes则是允许root登录。
3、重启ssh服务,既可以通过SercureCRT正常连接服务器
/etc/init.d/ssh restart
通过Vmware10.0.2安装了Ubuntu 14.0.4.15 虚拟服务器,在SercureCRT中使用root帐号连接Ubuntu14.0.4.5的时候,提示“Password Authentication Failed,Please verify that the username and password are correct.”重新输入密码,反复检查多次密码并重新输入正确的密码,还是提示同样的错误。
解决方法:
1、在虚拟机终端使用root帐号登录,编辑/etc/ssh/sshd_config文件
vi /etc/ssh/sshd_config
2、找到Authentication配置部分,将PermitRootLogin without-password修改为PermitRootLogin yes,然后保存。
# Authentication:
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes
说明:sshd_config是ssh的配置文件,其中有一个选项 PermitRootLogin 用来配置是否允许root用户登录,默认的without-password表示不允许使用密码进行全登录认证,yes则是允许root登录。
3、重启ssh服务,既可以通过SercureCRT正常连接服务器
/etc/init.d/ssh restart
相关文章推荐
- SecureCRT无法正常连接Ubuntu 14.0.4的解决办法
- SercureCRT无法正常连接Ubuntu14.0.4.1的解决办法
- SercureCRT无法正常连接Ubuntu14.0.4.1的解决办法
- 关于拨号正常,网络连接正常,但网页无法打开的解决办法
- SecureCRT无法进行防火墙连接的解决办法
- vShpere Client在win 7 RC下和2008下 无法正常连接esx主机之解决办法
- 笔记本(USB 3.0,如:Thinkpad S3)上Ubuntu虚拟机无法连接USB或手机解决办法
- hq CQ45-307TX安装Ubuntu13.04后无线网卡无法正常使用解决办法
- Xshell无法连接Ubuntu的解决办法
- Xshell无法连接Ubuntu的解决办法
- VMware下ubuntu系统一直莫名其妙地连接无线网络导致Hadoop集群无法正常启动的解决方法
- 【转】SecureCRT连接Linux时VIM中文乱码、复制粘贴乱码解决办法(Ubuntu+redhat亲测)
- vShpere Client在win 7 RC下和2008下 无法正常连接esx主机之解决办法
- Ubuntu 11.10安装vmware7.1.4 build-385536 后,无法正常启动的解决办法
- iTunes无法与iPhone正常连接的解决办法
- 本地环境 Ubuntu 下安装XAMPP,phpmyadmin无法正常访问解决办法
- vShpere Client在win 7 RC下和2008下 无法正常连接esx主机之解决办法
- ubuntu安装VNCserver,用client端连接,无法显示桌面的解决办法
- SQL Server无法正常连接的解决办法