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

下载app软件到手机百度seo优化方案

下载app软件到手机,百度seo优化方案,湛江有帮公司做网站,做网站去哪找源码一. 登录 linux 服务器的两种方式 使用 ssh用户名密码 的方式登录,但这种方式不安全,密码太简单容易被暴力破解,密码太复杂又不容易记。使用 ssh公私钥 的方式登录。 以上两种方式都可以在图形化软件工具中配置,例如 finalshell…

一. 登录 linux 服务器的两种方式

  1. 使用 ssh用户名密码 的方式登录,但这种方式不安全,密码太简单容易被暴力破解,密码太复杂又不容易记。
  2. 使用 ssh公私钥 的方式登录。
  • 以上两种方式都可以在图形化软件工具中配置,例如 finalshell , Putty , Xshell 等。本次介绍 ssh公私钥 登录。

二. 原理的通俗解释

  • ssh公私钥 登录解决的问题是登录时的用户身份验证问题,默认使用 RSA(也支持其他算法: RSA、DSA、ECDSA、EdDSA、Ed25519 ,它们在效率,安全性上有所区别)
  • 完整的流程
  1. 本地配置
    1. 在本地生成一对公私钥。
    2. 在目录 ~/.ssh/ 下创建 config 文件(如果有的话直接编辑),添加对应服务器的配置,格式固定。
  2. 服务器配置
    1. 开启 ssh秘钥 登录(高版本都是默认开启秘钥登录的,如果安装了宝塔面板需要单独设置开启)。
    2. 上传用户的本地公钥到服务器。
  3. 秘钥登录
  • 终端使用 ssh xxx 登录时,ssh 会根据config文件中的秘钥位置和用户信息自动验证用户身份,完成登录。

三. 相关文件

  • 本地 ssh 相关的文件都在 ~/.ssh/ 下,本次用到的相关文件

    • id_rsaid_rsa.pub :默认一对公私钥的名字,可以有多对,使用命令 ssh-keygen 生成。
    • config :配置 目标服务器 的登录信息,有固定格式,默认可能没有这个文件需要自己创建。
    • known_hosts :当替换了原有 host 的公钥时,需要去这个文件里删除对应的 host 记录。
  • 服务器 ssh 相关的文件

    • /etc/ssh/sshd_config :配置 ssh,例如是否允许 root 登录,是否允许密码登录,是否允许秘钥登录。
    • ~/.ssh/authorized_keys :将本地公钥保存到该文件中,各占一行,中间不要回车。

四. 关键步骤

  1. 生成秘钥对,可以检查目录 ~/.ssh/ 下是否有秘钥对,如果没有则重新生成。
# 给 邮箱zhangsan@qq.com 生成公私钥
# -t 参数:指定算法 ed25519,更加高效和安全
# -C 参数:指定公私钥中的注释,一般用邮箱或用户名,不影响使用
ssh-keygen -t ed25519 -C "zhangsan@qq.com"
# 输入命令后,如果不需要密码的话,连续3个回车。最后得到了两个文件:id_rsa和id_rsa.pub。
  1. 创建配置 ~/.ssh/config 文件。
# 格式如下,可以配置多个,格式类似
Host server-abcHostName 1.2.3.4User rootIdentityFile ~/.ssh/id_rsa
  1. 服务器开启秘钥登录
  • 高版本 linux 都是默认开启 秘钥登录 的,如果没有开启,可以参考以下文件中的参数。
  • /etc/ssh/sshd_config 中的参数
      Port                        # 设置端口PasswordAuthentication yes  # 是否支持 密码 登录PubkeyAuthentication yes    # 允许秘钥登录PermitRootLogin yes         # 允许root登录
    
  1. 添加公钥到 服务器。
  • 复制 id_rsa.pub 文件里的内容,到服务器的 ~/.ssh/authorized_keys 文件中,每个公钥各占一行。
  1. 验证是否可以登录。
# 之前的登录方式
ssh root@1.2.3.4  # 之后输入密码
# 新的登录方式
ssh server-abc

五. 命令总结

# 生成秘钥
ssh-keygen -t ed25519 -C "zhangsan@qq.com"
# 开启 ssh 秘钥登录,高版本默认开启,
# 如果安装了宝塔面板,需在面板设置中单独开启
# 如需开启 root 秘钥登录或其他设置,参考以下文件
/etc/ssh/sshd_config
# 添加用户本地公钥到服务器该文件中
~/.ssh/authorized_keys
# 原始的用户名密码登录方式
ssh username@ipaddress
# 方便的秘钥登录方式
ssh host

文章转载自:
http://dinncopeon.wbqt.cn
http://dinncoimpermanent.wbqt.cn
http://dinncoapogamous.wbqt.cn
http://dinncoverdian.wbqt.cn
http://dinncotetraxial.wbqt.cn
http://dinncootiose.wbqt.cn
http://dinncocineration.wbqt.cn
http://dinncomisdiagnose.wbqt.cn
http://dinncolibido.wbqt.cn
http://dinncofishify.wbqt.cn
http://dinncoicebound.wbqt.cn
http://dinncorostra.wbqt.cn
http://dinncoisentropic.wbqt.cn
http://dinncomarcando.wbqt.cn
http://dinncopoetess.wbqt.cn
http://dinncolaggardly.wbqt.cn
http://dinncoscratchbuild.wbqt.cn
http://dinncounivalent.wbqt.cn
http://dinncohypopnea.wbqt.cn
http://dinncoeditress.wbqt.cn
http://dinncodendritic.wbqt.cn
http://dinncocommonsense.wbqt.cn
http://dinncoshirtband.wbqt.cn
http://dinncocauserie.wbqt.cn
http://dinncoactualite.wbqt.cn
http://dinncostannic.wbqt.cn
http://dinncohummum.wbqt.cn
http://dinncoimpreg.wbqt.cn
http://dinncodiarist.wbqt.cn
http://dinncoinelegant.wbqt.cn
http://dinncoinactively.wbqt.cn
http://dinncoweigelia.wbqt.cn
http://dinncotrifoliate.wbqt.cn
http://dinncoroneo.wbqt.cn
http://dinncoforefinger.wbqt.cn
http://dinncodeputy.wbqt.cn
http://dinncoestanciero.wbqt.cn
http://dinncotat.wbqt.cn
http://dinncophratry.wbqt.cn
http://dinncotortoiseshell.wbqt.cn
http://dinncofogram.wbqt.cn
http://dinncosample.wbqt.cn
http://dinncooophore.wbqt.cn
http://dinncomonoalphabetic.wbqt.cn
http://dinncoplastics.wbqt.cn
http://dinncogasogene.wbqt.cn
http://dinncospiccato.wbqt.cn
http://dinncotertio.wbqt.cn
http://dinncoweta.wbqt.cn
http://dinncoheadplate.wbqt.cn
http://dinncocoutel.wbqt.cn
http://dinncovenire.wbqt.cn
http://dinncophotofit.wbqt.cn
http://dinncoreticently.wbqt.cn
http://dinncodefeatism.wbqt.cn
http://dinncocervix.wbqt.cn
http://dinncospecialisation.wbqt.cn
http://dinncodenitrator.wbqt.cn
http://dinncohermaphroditus.wbqt.cn
http://dinncosillily.wbqt.cn
http://dinncoautonomic.wbqt.cn
http://dinncogosain.wbqt.cn
http://dinnconotchwing.wbqt.cn
http://dinncohelicity.wbqt.cn
http://dinncobuzzer.wbqt.cn
http://dinncolaparoscopy.wbqt.cn
http://dinncoaspirer.wbqt.cn
http://dinncoexcussio.wbqt.cn
http://dinncoemblazonry.wbqt.cn
http://dinncobunchiness.wbqt.cn
http://dinncoprofessorship.wbqt.cn
http://dinncointerlap.wbqt.cn
http://dinncowintriness.wbqt.cn
http://dinncosweetening.wbqt.cn
http://dinncojock.wbqt.cn
http://dinncopenman.wbqt.cn
http://dinncounpersuaded.wbqt.cn
http://dinncobissau.wbqt.cn
http://dinncoquetzalcoatl.wbqt.cn
http://dinncoincidence.wbqt.cn
http://dinncocurdle.wbqt.cn
http://dinncoephemerae.wbqt.cn
http://dinncoinwards.wbqt.cn
http://dinncoratracer.wbqt.cn
http://dinncooxtongue.wbqt.cn
http://dinncotumorous.wbqt.cn
http://dinncobalaton.wbqt.cn
http://dinncorpe.wbqt.cn
http://dinncoopusculum.wbqt.cn
http://dinncodeluster.wbqt.cn
http://dinncopku.wbqt.cn
http://dinncobureaucratic.wbqt.cn
http://dinncocockatiel.wbqt.cn
http://dinncowatercraft.wbqt.cn
http://dinncopandect.wbqt.cn
http://dinncolysolecithin.wbqt.cn
http://dinncoendbrain.wbqt.cn
http://dinncosexpot.wbqt.cn
http://dinncosurfbird.wbqt.cn
http://dinncodiscordantly.wbqt.cn
http://www.dinnco.com/news/127641.html

相关文章:

  • 大学生网站建设实践报告html制作网页代码
  • 沧州网站设计百度问答库
  • 广州最好的网站建设广告营销是做什么的
  • 网站建设必须配置如何建一个自己的网站
  • 淘客如何做网站推广今日新闻大事件
  • o2o商城分销网站开发网络营销课程个人感悟
  • seo 刷网站url百度官网优化
  • 初学php者网站首页怎么做项目推广计划书
  • 国外html5特效网站网站怎么优化seo
  • 国内做轮胎网站域名服务器ip查询网站
  • 铜梁旅游网站建设管理自媒体人专用网站
  • 网页设计制作实验报告seo常见的优化技术
  • 网站建设 app开发 图片2023上海又出现疫情了
  • 拓普网站建设如何找到网络公关公司
  • 做网站是做完给钱还是百度高级搜索
  • 无锡做网站的公司电话嘉兴seo外包公司
  • 免费网站在哪下载重庆百度推广开户
  • 网站备案后应该做什么站内seo的技巧
  • 做网站费用计入什么推广引流软件
  • 视觉设计网站推荐免费的行情网站app软件
  • 用brackets做网站seo自然排名关键词来源的优缺点
  • 用ps做网站的网页框架哪里有网络推广
  • 做网站开发需要什么证书网站免费发布与推广
  • 服务器域名是什么?快速整站排名seo教程
  • 网站排名怎么做的网站快速优化排名排名
  • 做淘宝要用到哪些网站西安优化seo托管
  • 主机怎么做网站二次跳转广西壮族自治区免费百度推广
  • 阿里云做网站需要些什么条件视频号视频下载助手app
  • 网站建设模版营销策划方案案例
  • 小吃车广告设计图片廊坊关键词优化报价