当前位置:网站首页>SSH服务器拒绝了密码
SSH服务器拒绝了密码
2022-07-25 14:30:00 【格格巫 MMQ!!】
1安装
yum -y install openssh openssh-clients openssh-server openssh-askpass
2修改 vim /etc/ssh/sshd_config
PermitRootLogin yes
StrictModes yes
UsePAM yes
1.
2.
3.
3重启ssh
systemctl restart sshd


按照网上的说法是不允许root用户登陆
但是,/etc/ssh/sshd_config 已经写入PermitRootLogin yes
解决方法:
设置/etc/sysconfig/selinux 中的SELINUX=disabled
然后重启就OK了
重启ssh #sudo /etc/init.d/ssh restart
重启机器reboot
重启完开启ssh
#sudo /etc/init.d/ssh start
然后连接xshell就OK了。
边栏推荐
- Maya modeling exercise
- Runtimeerror: CUDA out of memory (solved) [easy to understand]
- 如何让一套代码完美适配各种屏幕?
- Application practice: Great integrator of the paddy classification model [paddlehub, finetune, prompt]
- Go语言创始人从Google离职
- Summary of some problems about left value and right value [easy to understand]
- Flask SSTI injection learning
- 关于左值和右值的一些问题总结[通俗易懂]
- 机械制造业数字化新“引擎”供应链协同管理系统助力企业精细化管理迈上新台阶
- Numpy basic package for data analysis
猜你喜欢

VS2017大型工厂ERP管理系统源码 工厂通用ERP源码
![Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]](/img/22/17250eabf067b5b1b9b71e6e0ff14e.png)
Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]

Oka pass rights and interests analysis is the best choice to participate in okaleido ecological construction

Resource not found: rgbd_launch 解决方案

实现一个家庭安防与环境监测系统(一)

Save the image with gaussdb (for redis), and the recommended business can easily reduce the cost by 60%

Niuke multi school E G J L

基于浏览器的分屏阅读

GameFramework制作游戏(一)

Mongodb source code deployment and configuration
随机推荐
SSM framework integration, simple case
Sunfeng, general manager of Yixun: the company has completed the share reform and is preparing for IPO
Practical guide for network security emergency response technology (Qianxin)
Famous handwritten note taking software recruit CTO · coordinate Shenzhen
软件测试 -- 1 软件测试知识大纲梳理
IDEA设置提交SVN时忽略文件配置
Writing standard of physical quantities and unit symbols
From fish eye to look around to multi task King bombing -- a review of Valeo's classic articles on visual depth estimation (from fisheyedistancenet to omnidet) (Part 2)
filters获取data中的数据;filters使用data中的数据
Flask SSTI injection learning
Mlops column introduction
IDEA报错 Failed to determine a suitable driver class
优质数对的数目[位运算特点+抽象能力考察+分组快速统计]
How to design a high concurrency system?
变分(Calculus of variations)的概念及运算规则
手把手教你申请SSL证书
Xintang nuc980 set DHCP or static IP
C language and SQL Server database technology
C language and SQL Server database technology
sudo rosdep init Error ROS安装问题解决方案