无法建立SSH链接和Password Authentication Failed,Please verify that the username and password are correct解决
因为我的Ubuntu中未安装ssh服务,终端下运行命令:
sudo apt-get install openssh-server
之后重启一下ssh服务:
sudo service sshd restart
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 xxx-password修改为PermitRootLogin yes,然后保存。
# Authentication:
LoginGraceTime 120
#PermitRootLogin xxx-password
PermitRootLogin yes
StrictModes yes
说明:sshd_config是ssh的配置文件,其中有一个选项 PermitRootLogin 用来配置是否允许root用户登录,默认的xxx-password表示不允许使用密码进行全登录认证,yes则是允许root登录。
3、重启ssh服务,既可以通过SercureCRT正常连接服务器
service ssh restart
无法建立SSH链接和Password Authentication Failed,Please verify that the username and password are correct解决相关推荐
- SecureCRT通过SSH服务登录ubuntu出错:Password authentication failed, Please verify that the username and passw
1. 首先确保ubuntu安装ssh服务.通过ps -e | grep ssh查看,如果 sshd表示ssh已成功启动. 2. 通过SecureCRT登录ssh服务 提示错误:Password aut ...
- SSH远程登录失败,提示“Password authentication failed”
使用SecureCRT登陆,提示"Password authentication failed" 使用linux下ssh登陆,提示"Permission denied, ...
- zabbix server报错:FATAL: password authentication failed for user zabbix
zabbix agent日志 [root@localhost zabbix]# cat zabbix_server.log FATAL: password authentication failed ...
- FATAL: password authentication failed for user postgres
FATAL: password authentication failed for user "postgres" 致命:用户"postgres"的密码验证失败 ...
- SecureCRT出现Password authentication failed,也可能是用户名错误
第一次写博,记载一下碰到的错误 使用SecureCRT登录虚拟机,发现出现"Password authentication failed" 在网上找了一堆方法,都试了一下,发现都没 ...
- 数据库工具连接Mysql报Password authentication failed错误
最近项目需要用mysql数据库,同事把一个新安装的数据交给我使用,没想到一步一个坑,在此记录一下遇到的这个问题. 问题描述 使用navicat数据库工具连接mysql时,弹出了"Passwo ...
- 接数句库时 出现FATAL: password authentication failed for user ****
连接postgresql数据库时,使用的是本机的实际地址.连接是出现:password authentication failed for user "****". 原因应该是po ...
- PostgreSQL安装遇到的坑:Problem running post-install step/password authentication failed for user postgres
第一个问题: 安装过程中提示:Problem running post-install step. Installation may not complete correctly. The datab ...
- password authentication failed for user
password authentication failed for user "postgres" with docker 步骤 运行指令创建一个docker容器 docker ...
最新文章
- Shell编程中Shift的用法
- SqlHelper++
- 基于c语言开发老人防摔系统,家有老人,做好防摔排查
- 宇宙总统pascal程序
- (转)OL记载Arcgis Server切片
- Python随笔(二)GIL
- System.Data.OleDb.OleDbException: 未指定的错误的解决方法
- 服务器管理器添加php,为web服务器添加php的支持
- 数学建模_混合赌博模型
- 雾霾颗粒物携带了什么,从何而来?微生物组测序告诉您!
- 当你灵感枯竭的时候,如何深挖客户需求?采用曼陀罗思考法(5W1H模式),相信你会找到出路
- 记账管家绿色版 V1.0
- Quartus ii 13.1 数字时钟
- c++高级编程学习笔记7
- FBReader 探究
- 【 js 基础 】 setTimeout(fn, 0) 的作用
- Java生成word文档|综合
- EA将向内政及手机游戏开辟商供应发行办事
- 字节跳动校招前端面经(2021.03.16)
- 怎么用计算机向手机上传照片,老司机教你怎么把手机的照片传到电脑