当前位置: 首页 > wzjs >正文

服装设计师必看的网站广告推广怎么做

服装设计师必看的网站,广告推广怎么做,杭州软件公司排名,网站备案 互联网信息查询配置ssh免密登陆,能够通过客户端主机通过redhat用户和服务端主机基于公钥验证方式进行远程连接 1.客户端创建redhat用户 [rootnode2-client ~]# useradd redhat [rootnode2-client ~]# passwd redhat Changing password for user redhat. New password: Admin1…

配置ssh免密登陆,能够通过客户端主机通过redhat用户和服务端主机基于公钥验证方式进行远程连接

1.客户端创建redhat用户

[root@node2-client ~]# useradd redhat

[root@node2-client ~]# passwd redhat
Changing password for user redhat.
New password:   Admin123!
BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word
Retype new password:   Admin123!
passwd: all authentication tokens updated successfully.

2.切换用户,创建密钥对

[root@node2-client ~]# su - redhat  # 切换redhat用户

[redhat@node2-client ~]$ ssh-keygen -t rsa  # 生成ssh密钥对,这个密钥对能够用于ssh协议的身份验证 ;-t 指定要生成的密钥类型
Generating public/private rsa key pair.
Enter file in which to save the key (/home/redhat/.ssh/id_rsa):  回车  # 直接回车是选择密钥对保存路径为默认的 /home/redhat/.ssh/;也可自定义密钥保存位置
Created directory '/home/redhat/.ssh'.
Enter passphrase (empty for no passphrase):  回车  # 直接回车表示不使用密码保护所生成的密钥,也可输入密码
Enter same passphrase again:  回车  # 确认密码
Your identification has been saved in /home/redhat/.ssh/id_rsa
Your public key has been saved in /home/redhat/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:hxjKgDkqPO8wK/v18/A9v/Q6CH4FGK6Z+Ko4oqW2JcY redhat@node2-client
The key's randomart image is:
+---[RSA 3072]----+
|                            |
| o      .                  |
|+ .    .. o               |
|o. o .  oo..            |
|oo   o..+S ..          |
|o o .  + ..  .           |
| E.o.... .  o.           |
|==B.  .oo..+...       |
|X*+o...oo..o++.    |
+----[SHA256]-----+

[redhat@node2-client ~]$ ll /home/redhat/.ssh/  # 查看密钥对是否生成
total 16
-rw-------. 1 redhat redhat 2602 Mar 28 09:01 id_rsa
-rw-r--r--. 1 redhat redhat  573 Mar 28 09:01 id_rsa.pub
-rw-------. 1 redhat redhat  840 Mar 28 09:02 known_hosts
-rw-r--r--. 1 redhat redhat   96 Mar 28 09:02 known_hosts.old

3.将本地ssh公钥复制到服务端,实现无密码登录服务器

[redhat@node2-client ~]$ ssh-copy-id root@192.168.11.135  # 将本地的 SSH 公钥复制到远程服务器,从而实现通过 SSH 密钥进行无密码登录远程服务器
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/redhat/.ssh/id_rsa.pub"
The authenticity of host '192.168.11.135 (192.168.11.135)' can't be established.
ED25519 key fingerprint is SHA256:ZnGXKVJ+y39gUJ9gZt38DNRkuNByInVUXuzKoMS4MIg.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes  # 系统询问是否要继续连接到该远程服务器
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.11.135's password:   root

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'root@192.168.11.135'"
and check to make sure that only the key(s) you wanted were added.

4.ssh远程免密连接测试

[redhat@node2-client ~]$ ssh root@192.168.11.135
Activate 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: Fri Mar 28 08:51:56 2025 from 192.168.11.1

[root@node1-server ~]# logout  # 登出
Connection to 192.168.11.135 closed.


文章转载自:

http://ipa2wzGC.fmtfj.cn
http://ZPTkWOWh.fmtfj.cn
http://jTWKDWcF.fmtfj.cn
http://kv5gqjrT.fmtfj.cn
http://trgBbUGD.fmtfj.cn
http://AXlWem89.fmtfj.cn
http://6IDJgH7P.fmtfj.cn
http://N8lnSgMH.fmtfj.cn
http://K5kPggZ2.fmtfj.cn
http://HI7eOZkZ.fmtfj.cn
http://RwR0kqNq.fmtfj.cn
http://T7RT8Gsv.fmtfj.cn
http://i7VFPX1b.fmtfj.cn
http://sNpvRdvK.fmtfj.cn
http://jVX1NI85.fmtfj.cn
http://l612uXkF.fmtfj.cn
http://pv60PrJj.fmtfj.cn
http://7xwbwsYL.fmtfj.cn
http://wFDZPsb4.fmtfj.cn
http://LIvEplf7.fmtfj.cn
http://qDn99kmO.fmtfj.cn
http://Tf08d87L.fmtfj.cn
http://zoUog9Kl.fmtfj.cn
http://QdogQegr.fmtfj.cn
http://A8pZD0FT.fmtfj.cn
http://MCNKzVZU.fmtfj.cn
http://5zw8Ud5a.fmtfj.cn
http://O0rf4aCp.fmtfj.cn
http://LEBbYPOs.fmtfj.cn
http://Mnyujide.fmtfj.cn
http://www.dtcms.com/wzjs/607032.html

相关文章:

  • 盐城网站建设培训学校通过网站赚钱
  • .net 网站模板 下载网上超市
  • 专门做视频的网站有哪些wordpress 文本 点不了
  • 深圳网站制作易捷网络如何建设简单小型网站
  • 哪个推广网站好电子商务网站的建设的意义
  • 济南开发网站永康建设投标网站
  • 网站建设费记在什么科目下网站联盟有哪些
  • 做暧暧网站免费温州哪里有网站
  • 做python项目的网站一个完整的项目计划书
  • 快站公众号工具网站网络优化服务器
  • 阳光市往房和城乡规划建设局网站北京建设监理协会官方网站
  • flash 源码网站招投标信息查询平台
  • 福建省教师空间建设网站南京市招办南京网站设计
  • 济南住建网站陕西网站开发联系方式
  • 广州网站制作知名 乐云践新平台网站建设合同
  • 网站建设cz35西安公司网站制作要多少钱
  • 用模板建商城购物网站怎么做网站编程
  • 成都市建设部官方网站平台搭建app开发
  • 阿里云要求的网站建设方案织梦网站需要付费吗
  • 三明做网站重庆网站改版
  • 专做女裤有哪些网站wordpress邮箱解析
  • 哪里有免费的网站推广软件个人网站搭建wordpress
  • 最好设计网站建设自己怎么做网站啊
  • 昆明好的网站开发公司网站开发信息发布
  • 个人网站设计需求分析如何制作微信下单小程序
  • 网站建设工作部署会建站之星7大核心价值
  • 网站建设运营规划长沙房地产集团
  • 网站建设多少预算软件网站开发评估
  • 那些网站hr可以做兼职seo
  • 和百度一样的网站网站制作报价