【生活工具】centos9 stream使用xshell连接报错

stream使用xshell连接报错

 Xshell连接时提示:SSH服务拒绝了密码。请再试一次。

 

解决方法:

vim /etc/ssh/sshd_config
PermitRootLogin yes

 

yum 安装报错:

# yum install yum-utils 
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile

解决方法:

# vim /etc/yum/pluginconf.d/subscription-manager.conf
[main]
enabled=0

参考资料

1. centos9 stream使用xshell连接报错

2. yum安装报错

posted @ 2022-05-17 21:22  苏格拉底的落泪  阅读(29)  评论(0编辑  收藏  举报