ALmalinux 主机常用配置

ssh无法登陆:

使用最新putty

vi /etc/ssh/sshd_config

#PermitRootLogin without-password 改为 PermitRootLogin yes

service sshd restart

https://blog.csdn.net/fanchw/article/details/117555389

 

设置网络配置文件:

vi /etc/NetworkManager/system-connections/ens33.nmconnection

[connection]
id=ens192
uuid=6d33e9ea-2073-3199-ad38-5efc4c2f2abb
type=ethernet
autoconnect-priority=-999
interface-name=ens192
timestamp=1681837811

[ethernet]

[ipv4]
address1=218.61.32.81/24,218.61.32.65
dns=8.8.8.8;114.114.114.114;method=manual

 

https://www.cnblogs.com/awakenedy/articles/16775407.html

 

posted on 2023-04-18 18:41  shabake  阅读(221)  评论(0编辑  收藏  举报

导航