执行chmod -R 777 / 临时恢复ssh

2023-05-16

cd /etc
chmod 644 passwd group
chmod 000 gshadow shadow
cd ssh
chmod 644 moduli ssh_config ssh_host_dsa_key.pub ssh_host_ecdsa_key.pub ssh_host_ed25519_key.pub ssh_host_rsa_key.pub
chmod 600 sshd_config ssh_host_dsa_key ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key
chmod 700 /var/empty/sshd
 
systemctl restart sshd
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

执行chmod -R 777 / 临时恢复ssh 的相关文章

随机推荐

  • requires Python ‘>=3.7‘ but the running Python is 3.6.9 问题

    过程 ubuntu18 04 使用如下命令安装protobuf pip3 install protobuf 安装完毕后报错 protobuf requires Python 39 gt 61 3 7 39 but the running P
  • 拯救者Y9000P突然很卡

    描述 不知道什么原因 xff0c 拯救者Y9000P突然很卡 xff0c 打开windows 任务管理器 查看CPU性能显示速度不到1GHz 解决办法 关机 拔掉所有外设 xff0c 如鼠标 外接键盘 扩展屏幕 和其他设备 xff08 电源
  • windows电脑本通过网线分享无线网络

    条件 设备1 xff1a windows 10系统笔记本 xff08 wifi和网口 xff09 设备2 xff1a 具有网口的计算机 xff08 假设IP为 172 13 100 200 xff09 网线 期望 设备1通过wifi连接无线
  • shell中while内改变外部变量和 < << <<<

    代码 问题代码 使用管道会创建子shell lines 61 34 first line nsecond line nthird line 34 foo 61 0 echo e lines while read line do echo l
  • python 画几何图形

    多边形的画法 def ployon num distance bob color 39 blue 39 39 red 39 bob color 34 red 34 34 yellow 34 for i in range num bob fd
  • 希腊字母及读音

    希腊字母 24个希腊字母分别是 xff1a 拼写 xff1a 阿尔法 Alpha xff1a 贝塔 Beta xff1a 伽玛 Gamma xff1a 德尔塔 Delte xff1a 艾普西龙 Epsilon xff1a 捷塔 Zeta x
  • HexView工具使用

    HexView简介 HexView是Vector开发的一款查看和编辑16进制文件的PC端工具 它可以显示不同文件格式的内容 xff0c 主要是Intel HEX xff0c 摩托罗拉S记录二进制文件或其他汽车制造商特定的文件格式 此外 xf
  • c++ enum class转int

    示例 enum class 定义 span class token keyword enum span span class token keyword class span span class token class name Colo
  • cmake使用CMAKE_INSTALL_PREFIX指定目录的assimp

    编译assimp v5 2 5 CMakeLists txt片段 span class token comment 依赖库 span span class token function sudo span span class token
  • ubuntu14.04下eclipse4.5添加ADT插件构建android开发环境问题:libstdc++.so.6错误

    1 问题描述 xff1a ubuntu14 04 64位下 xff0c eclipse安装adt等android开发工具会提示 xff1a erro where loading shared libraries libstdc 43 43
  • 解决Win10下Linux子系统WSL输入who命令没有响应的内核问题

    系统和工具说明 Ubuntu 16 05 LTSWindows Terminalps xff1a powershellwsl xff1a windows子系统Linux 问题 在做操作系统的Linux的用户监测实验时 xff0c 我发现在W
  • vscode配置opencv环境【完整版】

    1 安装MinGW 并配置环境变量path 在终端输入gcc v验证 2 安装cmake 3 官方下载opencv源码source 在cmake中编译 xff0c 新建D opencv目录 先执行configure再执行generate o
  • 实验六:EIGRP协议配置

    EIGRP协议属于路由协议的一种 xff0c Cisco私有 xff0c 前身是IGRP xff0c 增加的 E 意为 增强型 xff0c 增强型内部网关路由协议 下面通过一个简单的小实验来学习一下EIGRP的相关命令 xff1a 拓扑图
  • Openstack容器部署工具—kolla-ansible源码解读

    kolla ansible源码解读 kolla介绍目录结构ansible目录结构 对neutron部署代码解读neutron目录结构defaulthandlersmetataskstemplates 命令参数解析 kolla介绍 Kolla
  • 离线升级:openssh从8.1版本至8.4版本

    由于公司有内外网之分 xff0c 因此内网的升级需要将所需要的包从外网传到内网进行离线升级 如果大家也是这种情况 xff0c 建议升级的时候务必要先拿一台不常用服务器 xff08 测试环境的话如果不常用也可以在上面升级 xff09 试一下
  • debian 10 修改网卡名称为eth0

    1 编辑文件 etc default grub 修改下面的值 初始值 GRUB CMDLINE LINUX 61 34 34 修改后 GRUB CMDLINE LINUX 61 34 net ifnames 61 0 biosdevname
  • ubuntu 安装过程中 安装界面卡死完美解决办法 笔记本

    在安装ubuntu过程中 xff0c 由于是神舟电脑 xff0c 问的淘宝客服 xff0c 没想到比我还白 xff0c 在网上搜了资料 xff0c 总结如下 xff1a 1 设置优盘启动 这里就不多说了 xff0c 网上资料很多 xff0c
  • Codeforces科学刷题指南,一图一表便够了

    简要介绍如何科学地刷算法题 xff0c 来提高自己解决问题的能力 xff0c 并利用爬虫抓取Codeforces的题库 xff0c 来分析题目难度以及算法分类的关系 无论做什么事 xff0c 多尝试 找套路 然后刻意练习都是至关重要的 对信
  • linux安装busybox教程

    获取软件包 下载busybox安装包1 31 0当前最新稳定版本 xff0c 并解压 xff1a span class token function wget span https busybox net downloads busybox
  • 执行chmod -R 777 / 临时恢复ssh

    span class token function cd span etc span class token function chmod span 644 span class token function passwd span gro