rhce_hw2

1)配置ntp时间服务器确保客户端和服务端主机同步时间:

        vim /etc/chrony.conf 
        第三行修改为:server ntp.aliyun.com  iburst
        systemctl restart chronyd

2)配置ssh免密登录,能够实现客户端主机通过服务端的redhat账户基于公钥验证方式的远程连接:

       服务端创建账户:

 

客户端生成公私钥对,将公钥传给服务器,最后验证免密登录

[root@node1 ~]# ssh-keygen -t rsa

[root@node1 ~]# ssh-copy-id root@192.168.150.128

[root@node1 ~]# ssh root@192.168.150.128

ctivate the web console with: systemctl enable --now cockpit.socket

Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Mon Jul 17 16:31:14 2023
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值